translation-tool: make Submit button show submission instructions
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@671 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
a9eaa3021e
commit
88fc2ae4bb
1 changed files with 17 additions and 1 deletions
|
@ -285,7 +285,23 @@ public class TranslationTool extends JFrame
|
|||
);
|
||||
if (code == null) return;
|
||||
|
||||
//TODO
|
||||
String msg = "";
|
||||
msg = msg + "Your translated strings have been saved to\n";
|
||||
msg = msg + new File(stringsModel.workingDirectory, "micropolisj").toString() + "\n";
|
||||
msg = msg + "as:\n";
|
||||
for (int i = 0; i < stringsModel.FILES.length; i++) {
|
||||
msg = msg + " * "
|
||||
+ stringsModel.FILES[i]+"_"+code+".properties"
|
||||
+ "\n";
|
||||
}
|
||||
msg = msg + "\n";
|
||||
msg = msg + "Submit these files to the Micropolis website\n";
|
||||
msg = msg + "https://code.google.com/p/micropolis\n";
|
||||
msg = msg + "(Open a new \"Issue\" and attach the files to the issue.)";
|
||||
|
||||
JOptionPane.showMessageDialog(this,
|
||||
msg, "Submit Locale",
|
||||
JOptionPane.INFORMATION_MESSAGE);
|
||||
}
|
||||
|
||||
public static void main(String [] args)
|
||||
|
|
Reference in a new issue