summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorhomeboy445 <akshitsan13@gmail.com>2021-03-21 14:38:33 +0530
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-03-24 08:36:44 +0100
commita20c9604f1f53e01850fb753e7f932e7648d2459 (patch)
tree84d9979c37acdadb80c8287b6a5ad7990c99e4c4 /cui
parent10fbf2b80e11620f3fc1691aa7968e6d3d460db9 (diff)
QR Code Dialog: Change term 'border' to 'margin'
This adds a margin around the qr code (white space), not a border. Change-Id: If3e74dfe19dd7f9c063eaa6439810d617a99cb45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112831 Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/QrCodeGenDialog.cxx2
-rw-r--r--cui/uiconfig/ui/qrcodegen.ui18
2 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx
index d4ac05e965f0..9e4d1df1d96d 100644
--- a/cui/source/dialogs/QrCodeGenDialog.cxx
+++ b/cui/source/dialogs/QrCodeGenDialog.cxx
@@ -155,7 +155,7 @@ QrCodeGenDialog::QrCodeGenDialog(weld::Widget* pParent, Reference<XModel> xModel
m_xBuilder->weld_radio_button("button_medium"),
m_xBuilder->weld_radio_button("button_quartile"),
m_xBuilder->weld_radio_button("button_high") }
- , m_xSpinBorder(m_xBuilder->weld_spin_button("edit_border"))
+ , m_xSpinBorder(m_xBuilder->weld_spin_button("edit_margin"))
#if ENABLE_ZXING
, mpParent(pParent)
#endif
diff --git a/cui/uiconfig/ui/qrcodegen.ui b/cui/uiconfig/ui/qrcodegen.ui
index a66daa6aed6a..aa9064f6e0dc 100644
--- a/cui/uiconfig/ui/qrcodegen.ui
+++ b/cui/uiconfig/ui/qrcodegen.ui
@@ -2,7 +2,7 @@
<!-- Generated with glade 3.36.0 -->
<interface domain="cui">
<requires lib="gtk+" version="3.20"/>
- <object class="GtkAdjustment" id="border_value">
+ <object class="GtkAdjustment" id="margin_value">
<property name="upper">75</property>
<property name="value">1</property>
<property name="step_increment">1</property>
@@ -129,7 +129,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_text" comments="Text to be stored in the QR">URL/Text :</property>
+ <property name="label" translatable="yes" context="qrcodegen|label_text" comments="Text to be stored in the QR">URL/Text:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">edit_text</property>
<property name="xalign">0</property>
@@ -140,13 +140,13 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="label_border">
+ <object class="GtkLabel" id="label_margin">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="label" translatable="yes" context="qrcodegen|label_border" comments="Set Border around QR">Border :</property>
+ <property name="label" translatable="yes" context="qrcodegen|label_margin" comments="Set Margin around QR">Margin:</property>
<property name="use_underline">True</property>
- <property name="mnemonic_widget">edit_border</property>
+ <property name="mnemonic_widget">edit_margin</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -187,17 +187,17 @@
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="edit_border">
+ <object class="GtkSpinButton" id="edit_margin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
- <property name="adjustment">border_value</property>
+ <property name="adjustment">margin_value</property>
<property name="snap_to_ticks">True</property>
<property name="numeric">True</property>
<property name="truncate-multiline">True</property>
<child internal-child="accessible">
- <object class="AtkObject" id="edit_border-atkobject">
- <property name="AtkObject::accessible-description" translatable="yes" context="edit border">The width in dots of the border surrounding the QR code.</property>
+ <object class="AtkObject" id="edit_margin-atkobject">
+ <property name="AtkObject::accessible-description" translatable="yes" context="edit margin">The margin surrounding the QR code.</property>
</object>
</child>
</object>