diff --git a/tools/dump-po-files.sh b/tools/dump-po-files.sh deleted file mode 100755 index 10bd4d975a1a..000000000000 --- a/tools/dump-po-files.sh +++ /dev/null @@ -1,5 +0,0 @@ -LANGS=$(cat tools/language-codes.csv|cut -d "," -f1) -mkdir po-files -for lang in $LANGS; do - curl "http://translate.wordpress.org/projects/android/dev/$lang/default/export-translations" > po-files/"$lang".po -done diff --git a/tools/wpconfig b/tools/wpconfig deleted file mode 100755 index 733646025e41..000000000000 --- a/tools/wpconfig +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby - -require 'erb' - -constants = {} - -File.open('local.properties', 'r') do |f| - f.each_line do |line| - if line.index '=' - name, value = line.split '=', 2 - key = name.split '.' - constants[key[1..-1].join('_').upcase.strip] = value.strip if key[0] == 'wp' - end - end -end - -File.open(ARGV[0], 'w') do |f| - f.puts ERB.new(<<-JAVA).result binding -package org.wordpress.android; - -class Config { - <% constants.each do |name, value| %> - protected static final String <%=name%>="<%=value%>"; - <% end %> -} -JAVA -end