[libhandy/libhandy-1-2] Specify the translation domain in UI files



commit f8ab7397571a9059dafecb4cc7b8064e8c8b9616
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon May 31 12:11:12 2021 +0200

    Specify the translation domain in UI files
    
    Otherwise GtkBuilder can't know which one to use, which can result in
    some strings left unlocalized.

 src/hdy-action-row.ui           | 2 +-
 src/hdy-carousel.ui             | 2 +-
 src/hdy-combo-row.ui            | 2 +-
 src/hdy-expander-row.ui         | 2 +-
 src/hdy-keypad-button.ui        | 2 +-
 src/hdy-keypad.ui               | 2 +-
 src/hdy-preferences-group.ui    | 2 +-
 src/hdy-preferences-page.ui     | 2 +-
 src/hdy-preferences-window.ui   | 2 +-
 src/hdy-search-bar.ui           | 2 +-
 src/hdy-status-page.ui          | 2 +-
 src/hdy-tab-bar.ui              | 2 +-
 src/hdy-tab.ui                  | 2 +-
 src/hdy-view-switcher-bar.ui    | 2 +-
 src/hdy-view-switcher-button.ui | 2 +-
 src/hdy-view-switcher-title.ui  | 2 +-
 16 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/src/hdy-action-row.ui b/src/hdy-action-row.ui
index f9b3f00d..979e80a7 100644
--- a/src/hdy-action-row.ui
+++ b/src/hdy-action-row.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <template class="HdyActionRow" parent="HdyPreferencesRow">
     <property name="activatable">False</property>
     <accessibility>
diff --git a/src/hdy-carousel.ui b/src/hdy-carousel.ui
index c9bf5535..6bd107b8 100644
--- a/src/hdy-carousel.ui
+++ b/src/hdy-carousel.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.20"/>
   <template class="HdyCarousel" parent="GtkEventBox">
     <property name="visible">True</property>
diff --git a/src/hdy-combo-row.ui b/src/hdy-combo-row.ui
index 080a5911..d7d79786 100644
--- a/src/hdy-combo-row.ui
+++ b/src/hdy-combo-row.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <template class="HdyComboRow" parent="HdyActionRow">
     <property name="activatable">False</property>
     <child>
diff --git a/src/hdy-expander-row.ui b/src/hdy-expander-row.ui
index 54d26507..0e99a412 100644
--- a/src/hdy-expander-row.ui
+++ b/src/hdy-expander-row.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <template class="HdyExpanderRow" parent="HdyPreferencesRow">
     <!-- The row must not be activatable, to be sure it doesn't conflict with
          clicking nested rows. -->
diff --git a/src/hdy-keypad-button.ui b/src/hdy-keypad-button.ui
index 27a53dd1..e653ae0b 100644
--- a/src/hdy-keypad-button.ui
+++ b/src/hdy-keypad-button.ui
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Generated with glade 3.20.1 -->
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.20"/>
   <template class="HdyKeypadButton" parent="GtkButton">
     <property name="can_focus">True</property>
diff --git a/src/hdy-keypad.ui b/src/hdy-keypad.ui
index 3f04532f..aeaba85d 100644
--- a/src/hdy-keypad.ui
+++ b/src/hdy-keypad.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.20"/>
   <template class="HdyKeypad" parent="GtkBin">
     <child>
diff --git a/src/hdy-preferences-group.ui b/src/hdy-preferences-group.ui
index 30d2d26e..3782e53e 100644
--- a/src/hdy-preferences-group.ui
+++ b/src/hdy-preferences-group.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.0"/>
   <template class="HdyPreferencesGroup" parent="GtkBin">
     <child>
diff --git a/src/hdy-preferences-page.ui b/src/hdy-preferences-page.ui
index b0f0b255..03ed5f9b 100644
--- a/src/hdy-preferences-page.ui
+++ b/src/hdy-preferences-page.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.0"/>
   <template class="HdyPreferencesPage" parent="GtkBin">
     <child>
diff --git a/src/hdy-preferences-window.ui b/src/hdy-preferences-window.ui
index 73d20e1e..28ddd97d 100644
--- a/src/hdy-preferences-window.ui
+++ b/src/hdy-preferences-window.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.0"/>
   <template class="HdyPreferencesWindow" parent="HdyWindow">
     <property name="modal">True</property>
diff --git a/src/hdy-search-bar.ui b/src/hdy-search-bar.ui
index 5e790420..90a6ca97 100644
--- a/src/hdy-search-bar.ui
+++ b/src/hdy-search-bar.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <template class="HdySearchBar" parent="GtkBin">
     <child>
       <object class="GtkRevealer" id="revealer">
diff --git a/src/hdy-status-page.ui b/src/hdy-status-page.ui
index d4af9625..4defb36b 100644
--- a/src/hdy-status-page.ui
+++ b/src/hdy-status-page.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <template class="HdyStatusPage" parent="GtkBin">
     <child>
       <object class="GtkScrolledWindow" id="scrolled_window">
diff --git a/src/hdy-tab-bar.ui b/src/hdy-tab-bar.ui
index 581e45bc..cb70529d 100644
--- a/src/hdy-tab-bar.ui
+++ b/src/hdy-tab-bar.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.24"/>
   <template class="HdyTabBar" parent="GtkBin">
     <child>
diff --git a/src/hdy-tab.ui b/src/hdy-tab.ui
index 7f79a33b..bd6f2446 100644
--- a/src/hdy-tab.ui
+++ b/src/hdy-tab.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.24"/>
   <template class="HdyTab" parent="GtkContainer">
     <property name="can-focus">True</property>
diff --git a/src/hdy-view-switcher-bar.ui b/src/hdy-view-switcher-bar.ui
index a2b1266b..d2d74cfb 100644
--- a/src/hdy-view-switcher-bar.ui
+++ b/src/hdy-view-switcher-bar.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.0"/>
   <template class="HdyViewSwitcherBar" parent="GtkBin">
     <child>
diff --git a/src/hdy-view-switcher-button.ui b/src/hdy-view-switcher-button.ui
index 018b6cca..f7ddd048 100644
--- a/src/hdy-view-switcher-button.ui
+++ b/src/hdy-view-switcher-button.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.0"/>
   <template class="HdyViewSwitcherButton" parent="GtkRadioButton">
     <signal name="notify::active" handler="on_active_changed" after="yes"/>
diff --git a/src/hdy-view-switcher-title.ui b/src/hdy-view-switcher-title.ui
index 1c706bc6..39906526 100644
--- a/src/hdy-view-switcher-title.ui
+++ b/src/hdy-view-switcher-title.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<interface>
+<interface domain="libhandy">
   <requires lib="gtk+" version="3.0"/>
   <template class="HdyViewSwitcherTitle" parent="GtkBin">
     <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]