From c9db7962c58cf65cb841c6ffc7f448e4e6d37bf2 Mon Sep 17 00:00:00 2001 From: HelioGuilherme66 Date: Wed, 5 Jun 2024 01:17:54 +0100 Subject: [PATCH] Add Japanese initial files --- CHANGELOG.adoc | 1 + README.adoc | 2 +- src/robotide/application/application.py | 4 +- src/robotide/application/releasenotes.py | 5 +- src/robotide/localization/RIDE.pot | 2 +- .../localization/ja_JP/LC_MESSAGES/RIDE.mo | Bin 0 -> 391 bytes .../localization/ja_JP/LC_MESSAGES/RIDE.po | 2758 +++++++++++++++++ src/robotide/preferences/__init__.py | 1 + src/robotide/version.py | 2 +- tools/geni18n.py | 2 +- 10 files changed, 2769 insertions(+), 8 deletions(-) create mode 100644 src/robotide/localization/ja_JP/LC_MESSAGES/RIDE.mo create mode 100644 src/robotide/localization/ja_JP/LC_MESSAGES/RIDE.po diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index de875ae9a..fe18d5063 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -10,6 +10,7 @@ and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioni === Added +- Added UI localization and support for Japanese configured test suites, valid for Robot Framework version 7.0.1 or higher. - Added to Grid Editor, changing Zoom In/Out with ``Ctrl-Mouse Wheel`` and setting at Preferences. - Added actions on columns of Grid Editor: Double-Click or Right Mouse Click, allows to edit the column name for Data Driven or Templated; Left Mouse Click, selects the column cells. diff --git a/README.adoc b/README.adoc index 7469636ca..8282c88c2 100644 --- a/README.adoc +++ b/README.adoc @@ -40,7 +40,7 @@ Likewise, the current version of wxPython, is 4.2.1, but RIDE is known to work w `pip install -U robotframework-ride` -(3.8 < python <= 3.12) Install current development version (**2.1dev45**) with: +(3.8 < python <= 3.12) Install current development version (**2.1dev46**) with: `pip install -U https://github.com/robotframework/RIDE/archive/master.zip` diff --git a/src/robotide/application/application.py b/src/robotide/application/application.py index 6957e5595..e917f9467 100644 --- a/src/robotide/application/application.py +++ b/src/robotide/application/application.py @@ -225,7 +225,7 @@ def SetGlobalColour(self, message): # print(f"DEBUG Application General : Enter SetGlobalColour message= {message.keys[0]}") app = wx.App.Get() _root = app.GetTopWindow() - theme = self.settings.get('General', None) + theme = self.settings.get_without_default('General') font_size = theme[FONT_SIZE] font_face = theme[FONT_FACE] font = _root.GetFont() @@ -307,7 +307,7 @@ def change_locale(self, message): names = [n for n in Languages.names] else: names = [('English', 'en', wx.LANGUAGE_ENGLISH)] - general = self.settings.get('General', None) + general = self.settings.get_without_default('General') language = general.get('ui language', 'English') try: idx = [lang[0] for lang in names].index(language) diff --git a/src/robotide/application/releasenotes.py b/src/robotide/application/releasenotes.py index 123bb3d43..6aa6af36e 100644 --- a/src/robotide/application/releasenotes.py +++ b/src/robotide/application/releasenotes.py @@ -152,7 +152,7 @@ def set_content(self, html_win, content):

RIDE (Robot Framework IDE) {VERSION} is a new release with important enhancements and bug fixes. The reference for valid arguments is Robot Framework installed version, which is at this - moment 7.0. However, internal library code is originally based on version 3.1.2, but adapted for new versions.

+ moment 7.0.1rc1. However, internal library code is originally based on version 3.1.2, but adapted for new versions.

New Features and Fixes Highlights