Make clear we are counting characters and not bytes or C char(s) · Github1886/sqlitebrowser@fc73ff4 · GitHub
Skip to content

Commit fc73ff4

Browse files
committed
Make clear we are counting characters and not bytes or C char(s)
Update translations with source texts. Update en_GB translation to include plural forms (and some colour instances+automatic removal of duplicate messages done by linguist). See issue sqlitebrowser#1772
1 parent ef90d30 commit fc73ff4

17 files changed

Lines changed: 29 additions & 44 deletions

‎src/EditDialog.cpp‎

Lines changed: 3 additions & 3 deletions

‎src/translations/sqlb_ar_SA.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ Errors are indicated with a red squiggle underline.</source>
10381038
<location filename="../EditDialog.cpp" line="767"/>
10391039
<location filename="../EditDialog.cpp" line="957"/>
10401040
<location filename="../EditDialog.cpp" line="965"/>
1041-
<source>%n char(s)</source>
1041+
<source>%n character(s)</source>
10421042
<translation>
10431043
<numerusform>لا محارف</numerusform>
10441044
<numerusform>محرف واحد</numerusform>

‎src/translations/sqlb_cs.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ Errors are indicated with a red squiggle underline.</source>
10021002
<location filename="../EditDialog.cpp" line="767"/>
10031003
<location filename="../EditDialog.cpp" line="957"/>
10041004
<location filename="../EditDialog.cpp" line="965"/>
1005-
<source>%n char(s)</source>
1005+
<source>%n character(s)</source>
10061006
<translation>
10071007
<numerusform>%n znak</numerusform>
10081008
<numerusform>%n znaků</numerusform>

‎src/translations/sqlb_de.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ Fehler werden durch eine rote Wellenlinie gekennzeichnet.</translation>
10461046
<location filename="../EditDialog.cpp" line="767"/>
10471047
<location filename="../EditDialog.cpp" line="957"/>
10481048
<location filename="../EditDialog.cpp" line="965"/>
1049-
<source>%n char(s)</source>
1049+
<source>%n character(s)</source>
10501050
<translation>
10511051
<numerusform>%n Zeichen</numerusform>
10521052
<numerusform>%n Zeichen</numerusform>

‎src/translations/sqlb_en_GB.ts‎

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -933,10 +933,10 @@ Errors are indicated with a red squiggle underline.</source>
933933
<location filename="../EditDialog.cpp" line="767"/>
934934
<location filename="../EditDialog.cpp" line="957"/>
935935
<location filename="../EditDialog.cpp" line="965"/>
936-
<source>%n char(s)</source>
937-
<translation>
938-
<numerusform></numerusform>
939-
<numerusform></numerusform>
936+
<source>%n character(s)</source>
937+
<translation type="unfinished">
938+
<numerusform>%n character</numerusform>
939+
<numerusform>%n characters</numerusform>
940940
</translation>
941941
</message>
942942
<message>
@@ -953,9 +953,9 @@ Errors are indicated with a red squiggle underline.</source>
953953
<location filename="../EditDialog.cpp" line="947"/>
954954
<location filename="../EditDialog.cpp" line="974"/>
955955
<source>%n byte(s)</source>
956-
<translation>
957-
<numerusform></numerusform>
958-
<numerusform></numerusform>
956+
<translation type="unfinished">
957+
<numerusform>%n byte</numerusform>
958+
<numerusform>%n bytes</numerusform>
959959
</translation>
960960
</message>
961961
</context>
@@ -2789,11 +2789,6 @@ You can drag SQL statements from the Schema column and drop them into the SQL ed
27892789
<source>Find text in SQL editor</source>
27902790
<translation type="unfinished"></translation>
27912791
</message>
2792-
<message>
2793-
<location filename="../MainWindow.ui" line="2085"/>
2794-
<source>Find text in SQL editor</source>
2795-
<translation type="unfinished"></translation>
2796-
</message>
27972792
<message>
27982793
<location filename="../MainWindow.ui" line="2088"/>
27992794
<source>This button opens the search bar of the editor</source>
@@ -2809,11 +2804,6 @@ You can drag SQL statements from the Schema column and drop them into the SQL ed
28092804
<source>Find or replace text in SQL editor</source>
28102805
<translation type="unfinished"></translation>
28112806
</message>
2812-
<message>
2813-
<location filename="../MainWindow.ui" line="2106"/>
2814-
<source>Find or replace text in SQL editor</source>
2815-
<translation type="unfinished"></translation>
2816-
</message>
28172807
<message>
28182808
<location filename="../MainWindow.ui" line="2109"/>
28192809
<source>This button opens the find/replace dialog for the current editor tab</source>
@@ -3141,11 +3131,6 @@ You can drag SQL statements from the Schema column and drop them into the SQL ed
31413131
<source>&amp;Load Extension...</source>
31423132
<translation type="unfinished"></translation>
31433133
</message>
3144-
<message>
3145-
<location filename="../MainWindow.ui" line="1751"/>
3146-
<source>Execute current line</source>
3147-
<translation></translation>
3148-
</message>
31493134
<message>
31503135
<location filename="../MainWindow.cpp" line="290"/>
31513136
<source>Ctrl+E</source>
@@ -3743,7 +3728,7 @@ Leave the field empty for using the database encoding.</source>
37433728
<message>
37443729
<location filename="../PlotDock.ui" line="30"/>
37453730
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This pane shows the list of columns of the currently browsed table or the just executed query. You can select the columns that you want to be used as X or Y axis for the plot pane below. The table shows detected axis type that will affect the resulting plot. For the Y axis you can only select numeric columns, but for the X axis you will be able to select:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Date/Time&lt;/span&gt;: strings with format &amp;quot;yyyy-MM-dd hh:mm:ss&amp;quot; or &amp;quot;yyyy-MM-ddThh:mm:ss&amp;quot;&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Date&lt;/span&gt;: strings with format &amp;quot;yyyy-MM-dd&amp;quot;&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Time&lt;/span&gt;: strings with format &amp;quot;hh:mm:ss&amp;quot;&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Label&lt;/span&gt;: other string formats. Selecting this column as X axis will produce a Bars plot with the column values as labels for the bars&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Numeric&lt;/span&gt;: integer or real values&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Double-clicking the Y cells you can change the used color for that graph.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
3746-
<translation type="unfinished"></translation>
3731+
<translation type="unfinished">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This pane shows the list of columns of the currently browsed table or the just executed query. You can select the columns that you want to be used as X or Y axis for the plot pane below. The table shows detected axis type that will affect the resulting plot. For the Y axis you can only select numeric columns, but for the X axis you will be able to select:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Date/Time&lt;/span&gt;: strings with format &amp;quot;yyyy-MM-dd hh:mm:ss&amp;quot; or &amp;quot;yyyy-MM-ddThh:mm:ss&amp;quot;&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Date&lt;/span&gt;: strings with format &amp;quot;yyyy-MM-dd&amp;quot;&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Time&lt;/span&gt;: strings with format &amp;quot;hh:mm:ss&amp;quot;&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Label&lt;/span&gt;: other string formats. Selecting this column as X axis will produce a Bars plot with the column values as labels for the bars&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Numeric&lt;/span&gt;: integer or real values&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Double-clicking the Y cells you can change the used colour for that graph.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
37473732
</message>
37483733
<message>
37493734
<location filename="../PlotDock.ui" line="46"/>
@@ -3974,7 +3959,7 @@ Warning: not all data has been fetched from the table yet due to the partial fet
39743959
<message>
39753960
<location filename="../PlotDock.cpp" line="578"/>
39763961
<source>Choose an axis color</source>
3977-
<translation type="unfinished"></translation>
3962+
<translation type="unfinished">Choose an axis colour</translation>
39783963
</message>
39793964
<message>
39803965
<location filename="../PlotDock.cpp" line="610"/>
@@ -4348,12 +4333,12 @@ Can be set to 0 for disabling completion.</source>
43484333
<message>
43494334
<location filename="../PreferencesDialog.ui" line="580"/>
43504335
<source>Text color</source>
4351-
<translation type="unfinished"></translation>
4336+
<translation type="unfinished">Text colour</translation>
43524337
</message>
43534338
<message>
43544339
<location filename="../PreferencesDialog.ui" line="606"/>
43554340
<source>Background color</source>
4356-
<translation type="unfinished"></translation>
4341+
<translation type="unfinished">Background colour</translation>
43574342
</message>
43584343
<message>
43594344
<location filename="../PreferencesDialog.ui" line="709"/>

‎src/translations/sqlb_es_ES.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ Los errores se indican con un subrayado ondulado rojo.</translation>
11751175
<location filename="../EditDialog.cpp" line="770"/>
11761176
<location filename="../EditDialog.cpp" line="960"/>
11771177
<location filename="../EditDialog.cpp" line="968"/>
1178-
<source>%n char(s)</source>
1178+
<source>%n character(s)</source>
11791179
<translation>
11801180
<numerusform>%n carácter</numerusform>
11811181
<numerusform>%n caracteres</numerusform>

‎src/translations/sqlb_fa.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ Errors are indicated with a red squiggle underline.</source>
967967
<location filename="../EditDialog.cpp" line="770"/>
968968
<location filename="../EditDialog.cpp" line="960"/>
969969
<location filename="../EditDialog.cpp" line="968"/>
970-
<source>%n char(s)</source>
970+
<source>%n character(s)</source>
971971
<translation type="unfinished">
972972
<numerusform></numerusform>
973973
</translation>

‎src/translations/sqlb_fr.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ Les erreurs sont signalées par un tilde rouge souligné.</translation>
10601060
<location filename="../EditDialog.cpp" line="767"/>
10611061
<location filename="../EditDialog.cpp" line="957"/>
10621062
<location filename="../EditDialog.cpp" line="965"/>
1063-
<source>%n char(s)</source>
1063+
<source>%n character(s)</source>
10641064
<translation>
10651065
<numerusform>%n caractère</numerusform>
10661066
<numerusform>%n caractères</numerusform>

‎src/translations/sqlb_it.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ Gli errori sono indicati con una sottolineatura rossa ondulata.</translation>
10391039
<location filename="../EditDialog.cpp" line="770"/>
10401040
<location filename="../EditDialog.cpp" line="960"/>
10411041
<location filename="../EditDialog.cpp" line="968"/>
1042-
<source>%n char(s)</source>
1042+
<source>%n character(s)</source>
10431043
<translation>
10441044
<numerusform>%n carattere</numerusform>
10451045
<numerusform>%n caratteri</numerusform>

‎src/translations/sqlb_ko_KR.ts‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)