diff --git a/designer-base/src/com/fr/design/extra/plugin.properties b/designer-base/src/com/fr/design/extra/plugin.properties deleted file mode 100644 index e69de29bb..000000000 diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/ErrorStrip.java b/designer-base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/ErrorStrip.java index ab35ad66a..da74104ef 100644 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/ErrorStrip.java +++ b/designer-base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/ErrorStrip.java @@ -36,6 +36,7 @@ import com.fr.design.gui.syntax.ui.rsyntaxtextarea.parser.Parser; import com.fr.design.gui.syntax.ui.rsyntaxtextarea.parser.ParserNotice; import com.fr.design.gui.syntax.ui.rsyntaxtextarea.parser.TaskTagParser.TaskNotice; import com.fr.design.gui.syntax.ui.rtextarea.RTextArea; +import com.fr.general.Inter; /** @@ -133,9 +134,6 @@ public class ErrorStrip extends JComponent { */ private static final int PREFERRED_WIDTH = 14; - private static final String MSG = "com.fr.design.gui.syntax.ui.rsyntaxtextarea.ErrorStrip"; - private static final ResourceBundle msg = ResourceBundle.getBundle(MSG); - private static final Color MARKED_OCCURRENCE_COLOR = new Color(220, 220, 220); @@ -290,7 +288,7 @@ public class ErrorStrip extends JComponent { String text = null; int line = yToLine(e.getY()); if (line>-1) { - text = msg.getString("Line"); + text = Inter.getLocText("Line"); text = MessageFormat.format(text, Integer.valueOf(line+1)); } return text; @@ -676,7 +674,7 @@ public class ErrorStrip extends JComponent { try { String word = textArea.getText(range.getStartOffset(), getLength()); - text = msg.getString("OccurrenceOf"); + text = Inter.getLocText("OccurrenceOf"); text = MessageFormat.format(text, word); } catch (BadLocationException ble) { UIManager.getLookAndFeel().provideErrorFeedback(textArea); @@ -767,7 +765,7 @@ public class ErrorStrip extends JComponent { } else { // > 1 StringBuilder sb = new StringBuilder(""); - sb.append(msg.getString("MultipleMarkers")); + sb.append(Inter.getLocText("MultipleMarkers")); sb.append("
"); for (int i=0; iinsert caret, 1=>overwrite. - private static final String MSG = "com.fr.design.gui.syntax.ui.rtextarea.RTextArea"; - /** * Constructor. @@ -462,28 +460,27 @@ public class RTextArea extends RTextAreaBase implements Printable { // Create actions for right-click popup menu. // 1.5.2004/pwy: Replaced the CTRL_MASK with the cross-platform version... int mod = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); - ResourceBundle msg = ResourceBundle.getBundle(MSG); cutAction = new RTextAreaEditorKit.CutAction(); - cutAction.setProperties(msg, "Action.Cut"); + cutAction.setProperties("Action.Cut"); cutAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, mod)); copyAction = new RTextAreaEditorKit.CopyAction(); - copyAction.setProperties(msg, "Action.Copy"); + copyAction.setProperties("Action.Copy"); copyAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_C, mod)); pasteAction = new RTextAreaEditorKit.PasteAction(); - pasteAction.setProperties(msg, "Action.Paste"); + pasteAction.setProperties("Action.Paste"); pasteAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_V, mod)); deleteAction = new RTextAreaEditorKit.DeleteNextCharAction(); - deleteAction.setProperties(msg, "Action.Delete"); + deleteAction.setProperties("Action.Delete"); deleteAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0)); undoAction = new RTextAreaEditorKit.UndoAction(); - undoAction.setProperties(msg, "Action.Undo"); + undoAction.setProperties("Action.Undo"); undoAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z, mod)); redoAction = new RTextAreaEditorKit.RedoAction(); - redoAction.setProperties(msg, "Action.Redo"); + redoAction.setProperties("Action.Redo"); redoAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Y, mod)); selectAllAction = new RTextAreaEditorKit.SelectAllAction(); - selectAllAction.setProperties(msg, "Action.SelectAll"); + selectAllAction.setProperties("Action.SelectAll"); selectAllAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A, mod)); } diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea.properties deleted file mode 100644 index 23c9446fa..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Copy -Action.Copy.Desc=Copies current selection to the clipboard. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Cut -Action.Cut.Desc=Removes current selection and places it on the clipboard. - -Action.Delete.Mnemonic=D -Action.Delete.Name=Delete -Action.Delete.Desc=Removes current selection. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Paste -Action.Paste.Desc=Places text on clipboard at current location in text file. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Select All -Action.SelectAll.Desc=Selects all text in current text document. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Undo -Action.CantUndo.Name=Can't Undo -Action.Undo.Desc=Takes back the last action. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Redo -Action.CantRedo.Name=Can't Redo -Action.Redo.Desc=Re-applies the last action undone. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ar.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ar.properties deleted file mode 100644 index 566bfc6d0..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ar.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=\u0646 -Action.Copy.Name=\u0646\u0633\u062e -Action.Copy.Desc=\u0646\u0633\u062e \u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u062d\u0627\u0644\u064a \u0625\u0644\u0649 \u0627\u0644\u062d\u0627\u0641\u0638\u0629. - -Action.Cut.Mnemonic=\u0642 -Action.Cut.Name=\u0642\u0635 -Action.Cut.Desc=\u0645\u0633\u062d \u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u062d\u0627\u0644\u064a \u0648\u0646\u0642\u0644\u0647 \u0625\u0644\u0649 \u0627\u0644\u062d\u0627\u0641\u0638\u0629. - -Action.Delete.Mnemonic=\u062d -Action.Delete.Name=\u062d\u0630\u0641 -Action.Delete.Desc=\u062d\u0630\u0641 \u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u062d\u0627\u0644\u064a. - -Action.Paste.Mnemonic=\u0644 -Action.Paste.Name=\u0644\u0635\u0642 -Action.Paste.Desc=\u0644\u0635\u0642 \u0627\u0644\u0646\u0635 \u0627\u0644\u0645\u0648\u062c\u0648\u062f \u0641\u064a \u0627\u0644\u062d\u0627\u0641\u0638\u0629 \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0645\u0643\u0627\u0646. - -Action.SelectAll.Mnemonic=\u0643 -Action.SelectAll.Name=\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0643\u0644 -Action.SelectAll.Desc=\u062a\u062d\u062f\u064a\u062f \u062c\u0645\u064a\u0639 \u0627\u0644\u0646\u0635 \u0641\u064a \u0627\u0644\u0645\u0633\u062a\u0646\u062f \u0627\u0644\u062d\u0627\u0644\u064a. - -Action.Undo.Mnemonic=U -Action.Undo.Name=\u0625\u0639\u0627\u062f\u0629 \u062a\u0646\u0641\u064a\u0630 -Action.CantUndo.Name=\u0644\u0627 \u064a\u0645\u0643\u0646 \u0627\u0644\u062a\u0631\u0627\u062c\u0639 -Action.Undo.Desc=\u0627\u0644\u062a\u0631\u0627\u062c\u0639 \u0639\u0646 \u0622\u062e\u0631 \u062e\u0637\u0648\u0629. - -Action.Redo.Mnemonic=R -Action.Redo.Name=\u062a\u0631\u0627\u062c\u0639 -Action.CantRedo.Name=\u0644\u0627 \u064a\u0645\u0643\u0646 \u0625\u0644\u063a\u0627\u0621 \u0627\u0644\u062a\u0631\u0627\u062c\u0639 -Action.Redo.Desc=\u0625\u0644\u063a\u0627\u0621 \u0627\u0644\u062a\u0631\u0627\u062c\u0639 \u0639\u0646 \u0622\u062e\u0631 \u062e\u0637\u0648\u0629. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_de.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_de.properties deleted file mode 100644 index 96d9e954e..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_de.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Kopieren -Action.Copy.Desc=Kopiert die aktuelle Auswahl in die Zwischenablage. - -Action.Cut.Mnemonic=U -Action.Cut.Name=Ausschneiden -Action.Cut.Desc=Ausschneiden in die Zwischenablage. - -Action.Delete.Mnemonic=L -Action.Delete.Name=L\u00f6schen -Action.Delete.Desc=Auswahl entfernen. - -Action.Paste.Mnemonic=I -Action.Paste.Name=Einf\u00fcgen -Action.Paste.Desc=Zwischenablage hier einf\u00fcgen. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Alle ausw\u00e4hlen -Action.SelectAll.Desc=W\u00e4hlt den gesamten Text aus. - -Action.Undo.Mnemonic=U -Action.Undo.Name=R\u00fcckg\u00e4ngig -Action.CantUndo.Name=R\u00fcckg\u00e4ngig nicht m\u00f6glich -Action.Undo.Desc=Macht die letzte Aktion r\u00fcckg\u00e4ngig. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Wiederholen -Action.CantRedo.Name=Wiederholung nicht m\u00f6glich -Action.Redo.Desc=Wiederholt die letzte Aktion. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_es.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_es.properties deleted file mode 100644 index 6404ed4fa..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_es.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Copiar -Action.Copy.Desc=Copia la selecci\u00f3n actual en el portapapeles. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Cortar -Action.Cut.Desc=Elimina la selecci\u00f3n actual y la p\u00f3ne en el portapapeles. - -Action.Delete.Mnemonic=D -Action.Delete.Name=Eliminar -Action.Delete.Desc=Elimina la selecci\u00f3n actual. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Pegar -Action.Paste.Desc=P\u00f3ne el texto del portapapeles en la posici\u00f3n actual del archivo de texto. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Seleccionar todo -Action.SelectAll.Desc=Selecciona todo el texto en el documento de texto actual. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Deshacer -Action.CantUndo.Name=No se puede deshacer -Action.Undo.Desc=Deshace la \u00faltima acci\u00f3n. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Rehacer -Action.CantRedo.Name=No se puede rehacer -Action.Redo.Desc=Rehace la \u00faltima acci\u00f3n deshecha. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_fr.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_fr.properties deleted file mode 100644 index f3a363387..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_fr.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Copier -Action.Copy.Desc=Copie la s\u00e9lection dans le presse-papiers. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Couper -Action.Cut.Desc=Coupe la s\u00e9lection et la place dans le presse-papiers. - -Action.Delete.Mnemonic=D -Action.Delete.Name=Effacer -Action.Delete.Desc=Efface la s\u00e9lection. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Coller -Action.Paste.Desc=Insert le contenu du presse-papiers \u00e0 l'emplacement courant. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=S\u00e9lectionner tout -Action.SelectAll.Desc=S\u00e9lectionne tout le texte du document courant. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Annuler -Action.CantUndo.Name=Annuler -Action.Undo.Desc=Annule la derni\u00e8re action. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Refaire -Action.CantRedo.Name=R\u00e9tablir -Action.Redo.Desc=R\u00e9p\u00e8te la derni\u00e8re action annul\u00e9e. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_hu.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_hu.properties deleted file mode 100644 index fc375eec8..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_hu.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=M\u00e1sol\u00e1s -Action.Copy.Desc=A jelenleg kiv\u00e1lasztott r\u00e9sz m\u00e1sol\u00e1sa a v\u00e1g\u00f3lapra - -Action.Cut.Mnemonic=T -Action.Cut.Name=Kiv\u00e1g\u00e1s -Action.Cut.Desc=A jelenleg kijel\u00f6lt r\u00e9sz elt\u00e1vol\u00edt\u00e1sa \u00e9s v\u00e1g\u00f3lapra helyez\u00e9se. - -Action.Delete.Mnemonic=D -Action.Delete.Name=T\u00f6rl\u00e9s -Action.Delete.Desc=A jelenleg kijel\u00f6lt r\u00e9sz elt\u00e1vol\u00edt\u00e1sa. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Beilleszt\u00e9s -Action.Paste.Desc=A sz\u00f6veges f\u00e1jl jelenlegi hely\u00e9n l\u00e9v\u0151 sz\u00f6veg v\u00e1g\u00f3lapra helyez\u00e9se. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Az \u00f6sszes kijel\u00f6l\u00e9se -Action.SelectAll.Desc=Az \u00f6sszes sz\u00f6veg kijel\u00f6l\u00e9se a jelenlegi dokumentumban. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Visszavon\u00e1s -Action.CantUndo.Name=Nem vonhat\u00f3 vissza -Action.Undo.Desc=Az utols\u00f3 m\u0171velet visszavon\u00e1sa - -Action.Redo.Mnemonic=R -Action.Redo.Name=Ism\u00e9telt v\u00e9grehajt\u00e1s -Action.CantRedo.Name=Nem hajthat\u00f3 v\u00e9gre \u00fajra -Action.Redo.Desc=Az utolj\u00e1ra visszavont m\u0171velet ism\u00e9telt alkalmaz\u00e1sa. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_in.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_in.properties deleted file mode 100644 index fdb51f829..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_in.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Salin -Action.Copy.Desc=Salin current selection ke clipboard. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Cut -Action.Cut.Desc=Hapus current selection dan letakkan dalam clipboard. - -Action.Delete.Mnemonic=D -Action.Delete.Name=Hapus -Action.Delete.Desc=Hapus current selection. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Paste -Action.Paste.Desc=Letakkan text pada clipboard di lokasi saat ini dalam text file. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Pilih Semua -Action.SelectAll.Desc=Pilih semua text dalam dokumen text saat ini. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Undo -Action.CantUndo.Name=Tidak Dapat Undo -Action.Undo.Desc=Kembali ke aksi terakhir. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Redo -Action.CantRedo.Name=Tidak dapat Redo -Action.Redo.Desc=Ulangi aksi terakhir yang di-undone. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_it.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_it.properties deleted file mode 100644 index 8d81bf61e..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_it.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Copia -Action.Copy.Desc=Copia la selezione corrente negli appunti. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Taglia -Action.Cut.Desc=Rimuove la selezione corrente e la memorizza negli appunti. - -Action.Delete.Mnemonic=E -Action.Delete.Name=Elimina -Action.Delete.Desc=Rimuove la selezione corrente. - -Action.Paste.Mnemonic=I -Action.Paste.Name=Incolla -Action.Paste.Desc=Inserisce il testo presente negli appunti nella posizione corrente nel file di testo. - -Action.SelectAll.Mnemonic=E -Action.SelectAll.Name=Seleziona tutto -Action.SelectAll.Desc=Seleziona tutto il testo nel documento corrente. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Annulla -Action.CantUndo.Name=Impossibile annullare -Action.Undo.Desc=Annulla l'ultima azione. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Ripeti -Action.CantRedo.Name=Impossibile ripristinare -Action.Redo.Desc=Riapplica l'ultima azione annullata. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ja.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ja.properties deleted file mode 100644 index f5c7c6987..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ja.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=\u30b3\u30d4\u30fc -Action.Copy.Desc=\u30ab\u30ec\u30f3\u30c8\u9078\u629e\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059 - -Action.Cut.Mnemonic=T -Action.Cut.Name=\u30ab\u30c3\u30c8 -Action.Cut.Desc=\u30ab\u30ec\u30f3\u30c8\u9078\u629e\u3092\u524a\u9664\u3057\u3066\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u79fb\u3057\u307e\u3059 - -Action.Delete.Mnemonic=D -Action.Delete.Name=\u524a\u9664 -Action.Delete.Desc=\u30ab\u30ec\u30f3\u30c8\u9078\u629e\u3092\u524a\u9664\u3057\u307e\u3059 - -Action.Paste.Mnemonic=P -Action.Paste.Name=\u8cbc\u308a\u4ed8\u3051 -Action.Paste.Desc=\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30ab\u30fc\u30bd\u30eb\u4f4d\u7f6e\u306b\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059 - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=\u3059\u3079\u3066\u9078\u629e -Action.SelectAll.Desc=\u30ab\u30ec\u30f3\u30c8\u30c6\u30ad\u30b9\u30c8\u66f8\u985e\u306e\u30c6\u30ad\u30b9\u30c8\u3059\u3079\u3066\u3092\u9078\u629e\u3057\u307e\u3059 - -Action.Undo.Mnemonic=U -Action.Undo.Name=\u5143\u306b\u623b\u3059 -Action.CantUndo.Name=\u5143\u306b\u623b\u305b\u307e\u305b\u3093 -Action.Undo.Desc=\u524d\u56de\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u53d6\u308a\u6d88\u3057\u307e\u3059 - -Action.Redo.Mnemonic=R -Action.Redo.Name=\u3084\u308a\u76f4\u3057 -Action.CantRedo.Name=\u518d\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093 -Action.Redo.Desc=\u53d6\u308a\u6d88\u3055\u308c\u305f\u524d\u56de\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u518d\u9069\u7528\u3057\u307e\u3059 diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ko.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ko.properties deleted file mode 100644 index a6ed81a62..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ko.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=\ubcf5\uc0ac\ud558\uae30 -Action.Copy.Desc=\ud604\uc7ac \uc120\ud0dd\ub41c \ud14d\uc2a4\ud2b8\ub97c \ud074\ub9bd\ubcf4\ub4dc\ub85c \ubcf5\uc0ac\ud569\ub2c8\ub2e4. - -Action.Cut.Mnemonic=T -Action.Cut.Name=\uc798\ub77c\ub0b4\uae30 -Action.Cut.Desc=\ud604\uc7ac \uc120\ud0dd\ub41c \ud14d\uc2a4\ud2b8\ub97c \ud074\ub9bd\ubcf4\ub4dc\ub85c \ubcf5\uc0ac\ud558\uace0 \uc0ad\uc81c\ud569\ub2c8\ub2e4. - -Action.Delete.Mnemonic=D -Action.Delete.Name=\uc9c0\uc6b0\uae30 -Action.Delete.Desc=\ud604\uc7ac \uc120\ud0dd\ub41c \ud14d\uc2a4\ud2b8\ub97c \uc0ad\uc81c\ud569\ub2c8\ub2e4. - -Action.Paste.Mnemonic=P -Action.Paste.Name=\ubd99\uc5ec\ub123\uae30 -Action.Paste.Desc=\ud074\ub9bd\ubcf4\ub4dc\uc5d0 \uc788\ub294 \ud14d\uc2a4\ud2b8\ub97c \ud604\uc7ac\uc758 \uc704\uce58\uc5d0 \ubd99\uc785\ub2c8\ub2e4. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=\uc804\uccb4 \uc120\ud0dd -Action.SelectAll.Desc=\ud604\uc7ac \ud14d\uc2a4\ud2b8 \ubb38\uc11c\uc758 \ubaa8\ub4e0 \ud14d\uc2a4\ud2b8\ub97c \uc120\ud0dd\ud569\ub2c8\ub2e4. - -Action.Undo.Mnemonic=U -Action.Undo.Name=\ub418\ub3cc\ub9ac\uae30 -Action.CantUndo.Name=\ub418\ub3cc\ub9b4 \uc218 \uc5c6\uc74c -Action.Undo.Desc=\ub9c8\uc9c0\ub9c9 \ub3d9\uc791\uc744 \ucde8\uc18c\ud569\ub2c8\ub2e4. - -Action.Redo.Mnemonic=R -Action.Redo.Name=\ub2e4\uc2dc\ud558\uae30 -Action.CantRedo.Name=\ub2e4\uc2dc \ud560\uc218 \uc5c6\uc74c -Action.Redo.Desc=\ub418\ub3cc\ub9b0 \ub3d9\uc791\uc744 \ub2e4\uc2dc \uc801\uc6a9\ud569\ub2c8\ub2e4. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_nl.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_nl.properties deleted file mode 100644 index 93b9fbff2..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_nl.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Kopi\u00ebren -Action.Copy.Desc=Kopieert de huidige selectie naar het prikbord. - -Action.Cut.Mnemonic=X -Action.Cut.Name=Knippen -Action.Cut.Desc=Haalt de huidige selectie weg en plaatst het op het prikbord - -Action.Delete.Mnemonic=V -Action.Delete.Name=Verwijderen -Action.Delete.Desc=Verwijdert huidige selectie. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Plakken -Action.Paste.Desc=Plaatst tekst van het prikbordop de huidige locatie in het tekst bestand. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Alles selecteren -Action.SelectAll.Desc=Selecteerd alle tekst in het huidige document. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Undo -Action.CantUndo.Name=Ongedaan maken niet mogelijk -Action.Undo.Desc=Haalt de laatste actie terug. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Redo -Action.CantRedo.Name=Opnieuw uitvoeren niet mogelijk -Action.Redo.Desc=Herhaalt de laatste teruggehaalde actie. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_pl.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_pl.properties deleted file mode 100644 index 8e4ebcac3..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_pl.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Kopiuj -Action.Copy.Desc=Kopiuje zaznaczenie do schowka. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Wytnij -Action.Cut.Desc=Wycina zaznaczenie i umieszcza je w schowku. - -Action.Delete.Mnemonic=D -Action.Delete.Name=Usu\u0144 -Action.Delete.Desc=Usuwa zaznaczenie. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Wklej -Action.Paste.Desc=Wkleja zawarto\u015b\u0107 schowka w aktualnej pozycji. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Zaznacz wszystko -Action.SelectAll.Desc=Zaznacza ca\u0142y tekst w otwartym dokumencie. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Cofnij -Action.CantUndo.Name=Nie mo\u017cna cofn\u0105\u0107 -Action.Undo.Desc=Cofa ostatni\u0105 akcj\u0119. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Przywr\u00f3\u0107 -Action.CantRedo.Name=Nie mo\u017cna przywr\u00f3ci\u0107 -Action.Redo.Desc=Przywraca stan sprzed cofni\u0119cia akcji. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_pt_BR.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_pt_BR.properties deleted file mode 100644 index ecbc5e0f9..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_pt_BR.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=Copiar -Action.Copy.Desc=Copia o texto selecionado para a \u00e1rea de transfer\u00eancia. - -Action.Cut.Mnemonic=T -Action.Cut.Name=Recortar -Action.Cut.Desc=Remove o texto selecionado e o coloca na \u00e1rea de transfer\u00eancia. - -Action.Delete.Mnemonic=D -Action.Delete.Name=Excluir -Action.Delete.Desc=Remove o texto selecionado. - -Action.Paste.Mnemonic=P -Action.Paste.Name=Colar -Action.Paste.Desc=Coloca o texto da \u00e1rea de transfer\u00eancia na posi\u00e7\u00e3o atual do arquivo. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=Selecionar Tudo -Action.SelectAll.Desc=Seleciona todo o texto no documento de texto atual. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Desfazer -Action.CantUndo.Name=Imposs\u00edvel Desfazer -Action.Undo.Desc=Desfaz a \u00faltima a\u00e7\u00e3o. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Refazer -Action.CantRedo.Name=Imposs\u00edvel Refazer -Action.Redo.Desc=Refaz a \u00faltima a\u00e7\u00e3o desfeita. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ru.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ru.properties deleted file mode 100644 index 638ae9189..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_ru.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=\u041a -Action.Copy.Name=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c -Action.Copy.Desc=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430. - -Action.Cut.Mnemonic=\u0412 -Action.Cut.Name=\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c -Action.Cut.Desc=\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u0438 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0435\u0433\u043e \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430. - -Action.Delete.Mnemonic=\u0423 -Action.Delete.Name=\u0423\u0434\u0430\u043b\u0438\u0442\u044c -Action.Delete.Desc=\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430. - -Action.Paste.Mnemonic=\u0421 -Action.Paste.Name=\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c -Action.Paste.Desc=\u0420\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0430 \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u0432 \u0444\u0430\u0439\u043b\u0435. - -Action.SelectAll.Mnemonic=\u042b -Action.SelectAll.Name=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 -Action.SelectAll.Desc=\u0412\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0444\u0430\u0439\u043b\u0435. - -Action.Undo.Mnemonic=U -Action.Undo.Name=\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c -Action.CantUndo.Name=\u041e\u0442\u043c\u0435\u043d\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 -Action.Undo.Desc=\u041e\u0442\u043a\u0430\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. - -Action.Redo.Mnemonic=R -Action.Redo.Name=\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c -Action.CantRedo.Name=\u041f\u043e\u0432\u0442\u043e\u0440 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d -Action.Redo.Desc=\u0412\u044b\u0437\u043e\u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_tr.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_tr.properties deleted file mode 100644 index 4085f9f9b..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_tr.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=K -Action.Copy.Name=Kopyala -Action.Copy.Desc=Secileni ClipBoarda Kopyalar. - -Action.Cut.Mnemonic=X -Action.Cut.Name=Kes -Action.Cut.Desc=Secileni Kaldirip ClipBoarda Yerlestirir. - -Action.Delete.Mnemonic=S -Action.Delete.Name=Sil -Action.Delete.Desc=Secileni Kaldir. - -Action.Paste.Mnemonic=Y -Action.Paste.Name=Yapistir -Action.Paste.Desc=Metni Metin Dosyasindaki Su Anki Yere Yapistir. - -Action.SelectAll.Mnemonic=T -Action.SelectAll.Name=Tumunu Sec -Action.SelectAll.Desc=Metin Belgesindeki Butun Metini Secer. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Geri Al -Action.CantUndo.Name=Geri Alinamaz -Action.Undo.Desc=Son Eylemi Geri Alir. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Tekrar Yap -Action.CantRedo.Name=Yeniden Yapilamaz -Action.Redo.Desc=Geri Alinan Eylemi Yeniden Uygular. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_zh_CN.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_zh_CN.properties deleted file mode 100644 index d6b47ddc8..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_zh_CN.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=\u590d\u5236 -Action.Copy.Desc=\u5c06\u5f53\u524d\u9009\u62e9\u590d\u5236\u5230\u526a\u8d34\u677f. - -Action.Cut.Mnemonic=T -Action.Cut.Name=\u526a\u5207 -Action.Cut.Desc=\u5c06\u5f53\u524d\u9009\u62e9\u590d\u5236\u5230\u526a\u8d34\u677f\u5e76\u4ece\u6587\u672c\u533a\u57df\u5220\u9664. - -Action.Delete.Mnemonic=D -Action.Delete.Name=\u5220\u9664 -Action.Delete.Desc=\u5220\u9664\u5f53\u524d\u9009\u62e9\u533a\u57df. - -Action.Paste.Mnemonic=P -Action.Paste.Name=\u7c98\u8d34 -Action.Paste.Desc=\u5c06\u5f53\u524d\u526a\u8d34\u677f\u5185\u5bb9\u590d\u5236\u5230\u6587\u672c\u533a\u57df. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=\u5168\u9009 -Action.SelectAll.Desc=\u9009\u62e9\u5f53\u524d\u6587\u6863\u4e2d\u5168\u90e8\u5185\u5bb9. - -Action.Undo.Mnemonic=U -Action.Undo.Name=\u590d\u539f -Action.CantUndo.Name=\u65e0\u6cd5\u64a4\u9500 -Action.Undo.Desc=\u64a4\u9500\u4e0a\u6b21\u64cd\u4f5c. - -Action.Redo.Mnemonic=R -Action.Redo.Name=\u91cd\u65b0\u64cd\u4f5c -Action.CantRedo.Name=\u65e0\u6cd5\u91cd\u590d -Action.Redo.Desc=\u6267\u884c\u4e0b\u4e2a\u64cd\u4f5c. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_zh_TW.properties b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_zh_TW.properties deleted file mode 100644 index 946978e78..000000000 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextArea_zh_TW.properties +++ /dev/null @@ -1,29 +0,0 @@ -Action.Copy.Mnemonic=C -Action.Copy.Name=\u8907\u88fd -Action.Copy.Desc=\u62f7\u8c9d\u73fe\u9078\u9805\u5165\u526a\u8cbc\u677f. - -Action.Cut.Mnemonic=T -Action.Cut.Name=\u526a\u5207 -Action.Cut.Desc=\u522a\u9664\u9078\u64c7\u4e26\u653e\u5165\u526a\u8cbc\u677f. - -Action.Delete.Mnemonic=D -Action.Delete.Name=\u522a\u9664 -Action.Delete.Desc=\u522a\u9664\u7576\u524d\u9078\u9805. - -Action.Paste.Mnemonic=P -Action.Paste.Name=\u7c98\u8cbc -Action.Paste.Desc=\u5c07\u526a\u8cbc\u677f\u4e2d\u7684\u6587\u672c\u653e\u5165\u7576\u524d\u4f4d\u7f6e. - -Action.SelectAll.Mnemonic=A -Action.SelectAll.Name=\u5168\u9078 -Action.SelectAll.Desc=\u5168\u9078\u73fe\u6a94\u6848\u6240\u6709\u6587\u5b57. - -Action.Undo.Mnemonic=U -Action.Undo.Name=Undo -Action.CantUndo.Name=\u7121\u6cd5\u64a4\u92b7 -Action.Undo.Desc=\u53d6\u6d88\u6700\u5f8c\u4e00\u6b21\u884c\u52d5. - -Action.Redo.Mnemonic=R -Action.Redo.Name=Redo -Action.CantRedo.Name=\u7121\u6cd5\u91cd\u505a -Action.Redo.Desc=\u91cd\u8907\u6700\u5f8c\u53d6\u6d88\u7684\u884c\u52d5. diff --git a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RecordableTextAction.java b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RecordableTextAction.java index ab6ec5ac9..ac1086349 100644 --- a/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RecordableTextAction.java +++ b/designer-base/src/com/fr/design/gui/syntax/ui/rtextarea/RecordableTextAction.java @@ -9,6 +9,8 @@ */ package com.fr.design.gui.syntax.ui.rtextarea; +import com.fr.general.Inter; + import java.awt.event.ActionEvent; import java.util.ResourceBundle; import javax.swing.Icon; @@ -250,16 +252,15 @@ public abstract class RecordableTextAction extends TextAction { /** * Sets the name, mnemonic, and description of this action. * - * @param msg The resource bundle. * @param keyRoot The root of the keys for the properties. * ".Name", ".Mnemonic", and * ".Desc" will be appended to create the key for each * property. */ - public void setProperties(ResourceBundle msg, String keyRoot) { - setName(msg.getString(keyRoot + ".Name")); - setMnemonic(msg.getString(keyRoot + ".Mnemonic").charAt(0)); - setShortDescription(msg.getString(keyRoot + ".Desc")); + public void setProperties(String keyRoot) { + setName(Inter.getLocText(keyRoot + ".Name")); + setMnemonic(Inter.getLocText(keyRoot + ".Mnemonic").charAt(0)); + setShortDescription(Inter.getLocText(keyRoot + ".Desc")); }