add i18n for archiver and missing text

This commit is contained in:
mtsio
2015-06-04 03:09:20 +03:00
parent 2bd81505c7
commit cbcd77a7f7
3 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -119,7 +119,9 @@ public class Archiver implements Tool {
zos.flush();
zos.close();
editor.statusNotice("Created archive " + newbie.getName() + ".");
editor.statusNotice(Language
.interpolate("editor.status.archiver.create",
newbie.getName()));
} catch (IOException e) {
e.printStackTrace();
+2 -1
View File
@@ -331,6 +331,8 @@ editor.status.printing.canceled = Printing canceled.
editor.status.copy_as_html = Code formatted as HTML has been copied to the clipboard.
editor.status.debug.busy = Debugger busy...
editor.status.debug.halt = Debugger halted.
editor.status.archiver.create = Created archive "%s".
editor.status.archiver.cancel = Archive sketch canceled.
# Errors
editor.status.warning = Warning
@@ -346,7 +348,6 @@ editor.status.missing.left_curly_bracket = Missing left curly bracket "{"
editor.status.missing.right_curly_bracket = Missing right curly bracket "}"
editor.status.missing.add = Consider adding "%s"
editor.status.reserved_words = "color" and "int" are reserved words & cannot be used as variable names
# methoddef, varname, classname, namefield, typeA, typeB will be replaced with the correct value during runtime (don't translate)
editor.status.undefined_method = The function "%s(%s)" does not exist
editor.status.empty_param = The function "%s()" does not expect any parameters
editor.status.wrong_param = The function "%s()" expects parameters like: "%s(%s)"
@@ -361,6 +361,8 @@ editor.status.type_mismatch = Δεν υπάρχει αντιστοιχία τύ
editor.status.unused_variable = Η τιμή της τοπικής μεταβλητής "%s" δεν χρησιμοποιείται
editor.status.uninitialized_variable = Η τοπική μεταβλητή "%s" ίσως να μην έχει αρχικοποιηθεί
editor.status.no_effect_assignment = Η ανάθεση στη μεταβλητή "%s" δεν έχει αποτέλεσμα
editor.status.archiver.create = Δημιουργήθηκε το αρχείο "%s".
editor.status.archiver.cancel = H αρχειοθέτηση σχεδίου ακυρώθηκε.
# Footer buttons
editor.footer.errors = Σφάλματα