Skip to content

Commit

Permalink
updating ApplicationSettings.title
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed May 29, 2024
1 parent fb7e1e4 commit 112549a
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private JMenu createFileMenu() {

menu.addSeparator();

JMenuItem buttonAdjustPreferences = new JMenuItem(Translator.get("MenuPreferences"));
JMenuItem buttonAdjustPreferences = new JMenuItem(Translator.get("ApplicationSettings.title"));
buttonAdjustPreferences.addActionListener((e)-> myPreferencesPanel.run(SwingUtilities.getWindowAncestor(this)));
if (isMacOS) {
buttonAdjustPreferences.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_COMMA, SHORTCUT_CTRL));//"cmd ,"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private void checkSharingPermission() {
int comparison = MakelangeloVersion.VERSION.compareTo(v);
if(comparison!=0) {
preferences.put(SHARING_CHECK_STRING, MakelangeloVersion.VERSION);
int dialogResult = JOptionPane.showConfirmDialog(mainFrame, Translator.get("collectAnonymousMetricsOnUpdate"),"Sharing Is Caring",JOptionPane.YES_NO_OPTION);
int dialogResult = JOptionPane.showConfirmDialog(mainFrame, Translator.get("MetricsPreferences.collectAnonymousMetricsOnUpdate"),"Sharing Is Caring",JOptionPane.YES_NO_OPTION);
MetricsPreferences.setAllowedToShare(dialogResult == JOptionPane.YES_OPTION);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void run(Component parentComponent) {
pane.add(Translator.get("MetricsPreferences.Title"), MetricsPreferences.buildPanel());
panel.add(pane,BorderLayout.CENTER);

int result = JOptionPane.showConfirmDialog(parentComponent, panel, Translator.get("MenuPreferences"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
int result = JOptionPane.showConfirmDialog(parentComponent, panel, Translator.get("ApplicationSettings.title"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
if (result == JOptionPane.OK_OPTION) {
SoundPreferences.save();
GFXPreferences.save();
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/languages/arabic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<string><key>MetricsPreferences.Title</key><value>قياس</value></string>
<string><key>MetricsPreferences.collectAnonymousMetrics</key><value>
<![CDATA[<html><body> أتعهد بمشاركة بيانات الأستخدام المجهول مع شركة <br> Maginally Clever Robots ltd </body></html>]]></value></string>
<string><key>collectAnonymousMetricsOnUpdate</key><value><![CDATA[<html><body>السماح للتطبيق بجمع البيانات مجهولة المصدر<br><br>يمكنك تغيير الصلاحية في أي وقت بالذهاب الى <i>Makelangelo &gt; التفضيلات &gt; القياس</i></body></html>]]></value></string>
<string><key>MetricsPreferences.collectAnonymousMetricsOnUpdate</key><value><![CDATA[<html><body>السماح للتطبيق بجمع البيانات مجهولة المصدر<br><br>يمكنك تغيير الصلاحية في أي وقت بالذهاب الى <i>Makelangelo &gt; التفضيلات &gt; القياس</i></body></html>]]></value></string>
<string><key>SoundPreferences.Title</key><value>الأصوات</value></string>
<string><key>SoundPreferences.Connect</key><value>اتصال</value></string>
<string><key>SoundPreferences.Disconnect</key><value>الغاء الأتصال</value></string>
Expand All @@ -81,7 +81,7 @@
<string><key>UpToDate</key><value>لديك أحدث نسخة من التطبيق</value></string>
<string><key>UpdateCheckFailed</key><value>عذرا, حصل خطأ ما, الرجاء زيارة http://www.marginallyclever.com/ للعثور على حل مناسب</value></string>
<string><key>MenuMakelangelo</key><value>ملف</value></string>
<string><key>MenuPreferences</key><value>تفضيلات</value></string>
<string><key>ApplicationSettings.title</key><value>تفضيلات</value></string>
<string><key>MenuUpdate</key><value>بحث عن تحديثات</value></string>
<string><key>MenuQuit</key><value>خروج</value></string>
<string><key>MenuForums</key><value>زيارة نادي الدعم</value></string>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/languages/chinese.xml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@
</string>

<string>
<key>collectAnonymousMetricsOnUpdate</key>
<key>MetricsPreferences.collectAnonymousMetricsOnUpdate</key>
<value><![CDATA[<html><body>May Marginally Clever Robots, Ltd. collect anonymous usage metrics about this app?<br><br>You can update this any time in <i>Makelangelo &gt; Preferences &gt; Metrics</i></html></body>]]></value>
<hint>menu or dialog title</hint>
</string>
Expand Down Expand Up @@ -687,7 +687,7 @@
<hint>menu or dialog title</hint>
</string>
<string>
<key>MenuPreferences</key>
<key>ApplicationSettings.title</key>
<value>首选项</value>
<hint>menu or dialog title</hint>
</string>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/dutch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@
<hint>menu or dialog title</hint>
</string>
<string>
<key>MenuPreferences</key>
<key>ApplicationSettings.title</key>
<value>Instellingen</value>
<hint>menu or dialog title</hint>
</string>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/languages/english.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<string><key>OpenFileChooser.AllSupportedFiles</key><value>All supported files</value></string>
<string><key>MetricsPreferences.Title</key><value>Metrics</value></string>
<string><key>MetricsPreferences.collectAnonymousMetrics</key><value><![CDATA[<html><body>I consent to sharing anonymous usage data<br>with Marginally Clever Robots, Limited.</body></html>]]></value></string>
<string><key>collectAnonymousMetricsOnUpdate</key><value><![CDATA[<html><body>May Marginally Clever Robots, Ltd. collect anonymous usage metrics about this app?<br><br>You can update this any time in <i>Makelangelo &gt; Preferences &gt; Metrics</i></body></html>]]></value></string>
<string><key>MetricsPreferences.collectAnonymousMetricsOnUpdate</key><value><![CDATA[<html><body>May Marginally Clever Robots, Ltd. collect anonymous usage metrics about this app?<br><br>You can update this any time in <i>Makelangelo &gt; Preferences &gt; Metrics</i></body></html>]]></value></string>
<string><key>SoundPreferences.Title</key><value>Sounds</value></string>
<string><key>SoundPreferences.Connect</key><value>Connect</value></string>
<string><key>SoundPreferences.Disconnect</key><value>Disconnect</value></string>
Expand All @@ -78,7 +78,7 @@
<string><key>UpToDate</key><value>This software is up to date.</value></string>
<string><key>UpdateCheckFailed</key><value>Sorry, I failed. Please visit http://www.marginallyclever.com/ to check yourself.</value></string>
<string><key>MenuMakelangelo</key><value>File</value></string>
<string><key>MenuPreferences</key><value>Preferences</value></string>
<string><key>ApplicationSettings.title</key><value>Preferences</value></string>
<string><key>MenuUpdate</key><value>Check for updates</value></string>
<string><key>MenuQuit</key><value>Quit</value></string>
<string><key>MenuForums</key><value>Online help forums</value></string>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/languages/french.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
<hint>[manual driving dialog]</hint>
</string>
<string>
<key>collectAnonymousMetricsOnUpdate</key>
<key>MetricsPreferences.collectAnonymousMetricsOnUpdate</key>
<value>&lt;html&gt;&lt;body&gt;Est-ce que Marginally Clever Robots, Ltd. peut collecter des statistiques d'utilisation anonymes sur cette application ?&lt;br&gt;&lt;br&gt;Vous pouvez mettre à jour cela à tout moment dans &lt;i&gt;Makelangelo &amp;gt; Préférences &amp;gt; Métriques&lt;/i&gt;&lt;/html&gt;&lt;/body&gt;</value>
<hint>[menu or dialog title]</hint>
</string>
Expand Down Expand Up @@ -988,7 +988,7 @@
<hint></hint>
</string>
<string>
<key>MenuPreferences</key>
<key>ApplicationSettings.title</key>
<value>Préférences</value>
<hint>[menu or dialog title]</hint>
</string>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/languages/german.xml
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@
<hint>[manual driving dialog]</hint>
</string>
<string>
<key>collectAnonymousMetricsOnUpdate</key>
<key>MetricsPreferences.collectAnonymousMetricsOnUpdate</key>
<value>&lt;html&gt;&lt;body&gt;Darf Marginally Clever Robots, Ltd. anonyme Metriken über diese app sammeln?&lt;br&gt;&lt;br&gt;Du kannst dies jederzeit unter &lt;i&gt;Makelangelo &amp;gt; Einstellungen &amp;gt; Metriken ändern&lt;/i&gt;&lt;/html&gt;&lt;/body&gt;</value>
<hint>[menu or dialog title]</hint>
</string>
Expand Down Expand Up @@ -1896,7 +1896,7 @@
<hint></hint>
</string>
<string>
<key>MenuPreferences</key>
<key>ApplicationSettings.title</key>
<value>Einstellungen</value>
<hint>[menu or dialog title]</hint>
</string>
Expand Down

0 comments on commit 112549a

Please sign in to comment.