Skip to content

Commit 6ad1f36

Browse files
committed
The new code to update the strings has been commented out. It shouldn't, in theory, be necessary if the server is also up to date and returns the correct version of the strings.
1 parent 04166c3 commit 6ad1f36

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

data/default-ui-language-strings.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,6 @@
137137
"text" : "You currently have no translations."
138138
}
139139
},
140-
"update" :
141-
{
142-
"popup" :
143-
{
144-
"title" : "Update your strings to the current {QW} version?",
145-
"text" : "Do you want to update your strings to the current {QW} version? This will not affect the old version of the strings.",
146-
"buttons" :
147-
{
148-
"confirm" : "Yes, update them",
149-
"cancel" : "No, leave them"
150-
}
151-
}
152-
},
153140
"select" :
154141
{
155142
"edit" :

data/whats-new.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<version id="2.6.9">
44
<item onlyIfCurrentVersion="true">
5-
<title>Updates to User Interface strings</title>
6-
<description><![CDATA[Added a new feature that allows you to upgrade your User Interface strings to the current version of {QW}. Just edit one of your older version strings and it {QW} will offer to update the strings to the current version. This won't affect the old version.]]></description>
5+
<title>Bug fix</title>
6+
<description><![CDATA[The built-in User Interface strings version has been set to match the {QW} version. (My apologies for the fixes and updates, the User Interface strings functionality is new and still in beta with the bugs still being shaken out of box.)]]></description>
77
</item>
88
</version>
99

src/com/quollwriter/ui/UIUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11175,7 +11175,7 @@ public void actionPerformed (ActionEvent ev)
1117511175
{
1117611176

1117711177
final LanguageStrings ls = (LanguageStrings) ev.getSource ();
11178-
11178+
/*
1117911179
// Check to see if this version is the same as the current QW version.
1118011180
if (ls.getQuollWriterVersion ().isNewer (Environment.getQuollWriterVersion ()))
1118111181
{
@@ -11305,7 +11305,7 @@ public void actionPerformed (ActionEvent ev)
1130511305
}
1130611306
1130711307
}
11308-
11308+
*/
1130911309
Environment.editUILanguageStrings (ls,
1131011310
ls.getQuollWriterVersion ());
1131111311

0 commit comments

Comments
 (0)