Skip to content

Commit b3b6e8e

Browse files
committed
Removing comment.
1 parent e660215 commit b3b6e8e

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

app/src/processing/app/Preferences.java

-32
Original file line numberDiff line numberDiff line change
@@ -79,38 +79,6 @@ public class Preferences {
7979
static final String PROMPT_OK = _("OK");
8080
static final String PROMPT_BROWSE = _("Browse");
8181

82-
// XXX: DC 20120407
83-
// Language Combo Box
84-
// the right way to do this would be having a string[] inside the preferences.txt
85-
// file like follows:
86-
//
87-
// # list of available languages (in English so far)
88-
// editor.languages.available.list = Catalan,English,Spanish
89-
//
90-
// # list of ISO names (same order as previous)
91-
// editor.languages.ISO.list = ca,en,es
92-
//
93-
// --> but that will require having a method to upgrade to the latest selection of
94-
// translation files. That could be done in multiple ways, but requires some thought
95-
//
96-
// the code to gather those arrays into Preferences.java goes as follows:
97-
//
98-
// String languagesAvailable = Preferences.get("editor.languages.available.list");
99-
// String languagesAvailableISO = Preferences.get("editor.languages.ISO.list");
100-
// String[] languages = languagesAvailable.split(",");
101-
// String[] languagesISO = languagesAvailableISO.split(",");
102-
//
103-
// --> instead, DM and DC agree that, for the time being, the languages will be listed internally
104-
// inside the Java code, they will have to be moved out at some point
105-
//
106-
// also note that right now, by default we will take English, in the future, once JRE7 is running in
107-
// Arduino, we will use the locale, since it will behave in a similar way for all OSs. Thing is, up
108-
// to JRE6, it was misbehaving as noted here:
109-
// http://stackoverflow.com/questions/7107972/java-7-default-locale
110-
//
111-
// ALSO: for this to work, the languages/languagesISO arraylists need to be declared global, yeah!
112-
113-
// language related arrays, please read notes later, where the language combo box is introduced
11482
String[] languages = {
11583
_("System Default"),
11684
"Català" + " (" + _("Catalan") + ")",

0 commit comments

Comments
 (0)