added tooltips translations

This commit is contained in:
Darius Morawiec
2014-08-03 14:06:57 +02:00
parent cd0670d3f0
commit 8372abc8de
3 changed files with 19 additions and 9 deletions

View File

@@ -185,10 +185,7 @@ public class PreferencesFrame {
Container fontBox = Box.createHorizontalBox();
JLabel fontLabel = new JLabel(Language.text("preferences.editor_and_console_font")+": ");
final String fontTip = "<html>" +
"Select the font used in the Editor and the Console.<br/>" +
"Only monospaced (fixed-width) fonts may be used, <br/>" +
"though the list may be imperfect.";
final String fontTip = "<html>" + Language.text("preferences.editor_and_console_font.tip");
fontLabel.setToolTipText(fontTip);
fontBox.add(fontLabel);
// get a wide name in there before getPreferredSize() is called
@@ -236,11 +233,8 @@ public class PreferencesFrame {
label = new JLabel(Language.text("preferences.background_color")+": ");
colorBox.add(label);
final String colorTip = "<html>"
+ "Select the background color used when using Present.<br/>"
+ "Present is used to present a sketch in full-screen, <br/>"
+ "accessible from the Sketch menu.";
final String colorTip = "<html>" + Language.text("preferences.background_color.tip");
label.setToolTipText(colorTip);
presentColor = new JTextField(" ");

View File

@@ -120,9 +120,17 @@ preferences.sketchbook_location = Sketchbook location
preferences.sketchbook_location.popup = Sketchbook location
preferences.language = Language
preferences.editor_and_console_font = Editor and Console font
preferences.editor_and_console_font.tip = \
Select the font used in the Editor and the Console.<br>\
Only monospaced (fixed-width) fonts may be used,<br>\
though the list may be imperfect.
preferences.editor_font_size = Editor font size
preferences.console_font_size = Console font size
preferences.background_color = Background color when Presenting
preferences.background_color.tip = \
Select the background color used when using Present.<br>\
Present is used to present a sketch in full-screen,<br>\
accessible from the Sketch menu.
preferences.use_smooth_text = Use smooth text in editor window
preferences.enable_complex_text_input = Enable complex text input
preferences.enable_complex_text_input_example = i.e. Japanese

View File

@@ -114,9 +114,17 @@ preferences.requires_restart = nach Neustart von Processing aktiv
preferences.sketchbook_location = Sketchbook Pfad
preferences.language = Sprache
preferences.editor_and_console_font = Editor und Konsolen Schriftart
preferences.editor_and_console_font.tip = \
Wähle die Schrift für die Konsole und den Editor.<br>\
Es sollte eine dicktengleiche (monospace) Schrift ausgewählt werden,<br>\
da die Liste vorgeschlagener Schriftarten mangelhaft sein kann.
preferences.editor_font_size = Editor Schriftgröße
preferences.console_font_size = Konsolen Schriftgröße
preferences.background_color = Hintergrundfarbe im Present Modus
preferences.background_color.tip = \
Wähle die Hintergrundfarbe im Present Modus.<br>\
Im Present Modus erhält ein Sketch eine vollflächige Hintergrundfarbe,<br>\
welches man im Sketch Menü auswählen kann.
preferences.use_smooth_text = Editor Textglättung
preferences.enable_complex_text_input = Komplexe Sprachen erlauben
preferences.enable_complex_text_input_example = z.B. Japanisch