summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Hua <plateauwolf@qq.com>2021-11-27 05:04:49 +0800
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-11-28 21:42:24 +0100
commit81b26582ed62db40e2be701ddefede7d8230d0d2 (patch)
tree4a6c8ef9859ffa80ad8964998026977344f0576d
parentc3449cf4f2048b31ca19fb5e147cb579758fb63c (diff)
tdf#145728 Update UI Strings about QR and Barcode
In commit d37a44a9ebdafec1435f98194417a1d8cc8208b5 (tdf#141193 Added support for bar codes in qrcode dialog box[API Change], 2021-10-29) which added support for one-dimensional "CODE_128" barcode in addition to the previously supported 2D QR code, the various labels and tooltips in UI were not fully updated accordingly. This commit should update all QR and barcode related UI strings to match the new status, mentioning both "QR and barcode" where emphasis or detail is desired, and just "code(s)" where brevity is desired. Also use one-word "barcode" instead of "bar code" everywhere for consistency. Change-Id: I4530e4ffee5155b12551d7b819031c3869d7ab2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125925 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins (cherry picked from commit cf6823ea07047ad7681262e94721f88e768f5845) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125987
-rw-r--r--cui/uiconfig/ui/qrcodegen.ui12
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu4
2 files changed, 8 insertions, 8 deletions
diff --git a/cui/uiconfig/ui/qrcodegen.ui b/cui/uiconfig/ui/qrcodegen.ui
index 8b1734c5ae1a..4f015dccfde3 100644
--- a/cui/uiconfig/ui/qrcodegen.ui
+++ b/cui/uiconfig/ui/qrcodegen.ui
@@ -115,7 +115,7 @@
<property name="placeholder-text" translatable="yes" context="qrcodegen|edit_name">www.libreoffice.org</property>
<child internal-child="accessible">
<object class="AtkObject" id="edit_text-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="qr text">The text from which to generate the QR code.</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="qr text">The text from which to generate the code.</property>
</object>
</child>
</object>
@@ -177,11 +177,11 @@
<property name="active">0</property>
<items>
<item translatable="yes" context="qrcodegen|QrCode">QR Code</item>
- <item translatable="yes" context="qrcodegen|BarCode">Bar Code</item>
+ <item translatable="yes" context="qrcodegen|BarCode">Barcode</item>
</items>
<child internal-child="accessible">
<object class="AtkObject" id="choose_type-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="type">The type which is to be generated.</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="type">The type of code to generate.</property>
</object>
</child>
</object>
@@ -202,7 +202,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes" context="qrcodegen|label_ecc" comments="Error Correction Level of QR code">Error Correction:</property>
+ <property name="label" translatable="yes" context="qrcodegen|label_ecc" comments="Error Correction Level of QR code">Error correction:</property>
<property name="use-underline">True</property>
<property name="xalign">0</property>
<accessibility>
@@ -234,7 +234,7 @@
<property name="numeric">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="edit_margin-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="edit margin">The margin surrounding the QR code.</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="edit margin">The margin surrounding the code.</property>
</object>
</child>
</object>
@@ -381,7 +381,7 @@
</action-widgets>
<child internal-child="accessible">
<object class="AtkObject" id="QrCodeGenDialog-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="qr code dialog title">Generate QR Code for any text or URL.</property>
+ <property name="AtkObject::accessible-description" translatable="yes" context="qr code dialog title">Generate linear and matrix codes for any text or URL.</property>
</object>
</child>
</object>
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index cf72101b4b88..3fb594e55739 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -7203,7 +7203,7 @@ bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
</node>
<node oor:name=".uno:InsertQrCode" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Bar Code...</value>
+ <value xml:lang="en-US">QR and ~Barcode...</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
@@ -7211,7 +7211,7 @@ bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
</node>
<node oor:name=".uno:EditQrCode" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">~Edit Bar Code...</value>
+ <value xml:lang="en-US">~Edit Barcode...</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>