Skip to content

Commit 00a6063

Browse files
committed
add i18n for archiver and missing text
1 parent f890954 commit 00a6063

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

app/src/processing/app/tools/Archiver.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ public void fileSelected(File newbie) {
119119
zos.flush();
120120
zos.close();
121121

122-
editor.statusNotice("Created archive " + newbie.getName() + ".");
122+
editor.statusNotice(Language
123+
.interpolate("editor.status.archiver.create",
124+
newbie.getName()));
123125

124126
} catch (IOException e) {
125127
e.printStackTrace();

build/shared/lib/languages/PDE.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ editor.status.printing.canceled = Printing canceled.
331331
editor.status.copy_as_html = Code formatted as HTML has been copied to the clipboard.
332332
editor.status.debug.busy = Debugger busy...
333333
editor.status.debug.halt = Debugger halted.
334+
editor.status.archiver.create = Created archive "%s".
335+
editor.status.archiver.cancel = Archive sketch canceled.
334336

335337
# Errors
336338
editor.status.warning = Warning
@@ -346,7 +348,6 @@ editor.status.missing.left_curly_bracket = Missing left curly bracket "{"
346348
editor.status.missing.right_curly_bracket = Missing right curly bracket "}"
347349
editor.status.missing.add = Consider adding "%s"
348350
editor.status.reserved_words = "color" and "int" are reserved words & cannot be used as variable names
349-
# methoddef, varname, classname, namefield, typeA, typeB will be replaced with the correct value during runtime (don't translate)
350351
editor.status.undefined_method = The function "%s(%s)" does not exist
351352
editor.status.empty_param = The function "%s()" does not expect any parameters
352353
editor.status.wrong_param = The function "%s()" expects parameters like: "%s(%s)"

build/shared/lib/languages/PDE_el.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ editor.status.type_mismatch = Δεν υπάρχει αντιστοιχία τύ
361361
editor.status.unused_variable = Η τιμή της τοπικής μεταβλητής "%s" δεν χρησιμοποιείται
362362
editor.status.uninitialized_variable = Η τοπική μεταβλητή "%s" ίσως να μην έχει αρχικοποιηθεί
363363
editor.status.no_effect_assignment = Η ανάθεση στη μεταβλητή "%s" δεν έχει αποτέλεσμα
364+
editor.status.archiver.create = Δημιουργήθηκε το αρχείο "%s".
365+
editor.status.archiver.cancel = H αρχειοθέτηση σχεδίου ακυρώθηκε.
364366

365367
# Footer buttons
366368
editor.footer.errors = Σφάλματα

0 commit comments

Comments
 (0)