summaryrefslogtreecommitdiffstats
path: root/src/gs-app-translation-dialog.ui
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:57:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:57:27 +0000
commit6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 (patch)
treed423850ae901365e582137bdf2b5cbdffd7ca266 /src/gs-app-translation-dialog.ui
parentInitial commit. (diff)
downloadgnome-software-6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18.tar.xz
gnome-software-6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18.zip
Adding upstream version 43.5.upstream/43.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/gs-app-translation-dialog.ui')
-rw-r--r--src/gs-app-translation-dialog.ui113
1 files changed, 113 insertions, 0 deletions
diff --git a/src/gs-app-translation-dialog.ui b/src/gs-app-translation-dialog.ui
new file mode 100644
index 0000000..4b5b41f
--- /dev/null
+++ b/src/gs-app-translation-dialog.ui
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.10"/>
+ <template class="GsAppTranslationDialog" parent="GsInfoWindow">
+ <property name="title" translatable="yes">Translations</property>
+ <property name="default-width">480</property>
+ <property name="default-height">375</property>
+ <child>
+ <object class="AdwPreferencesPage">
+ <child>
+ <object class="AdwPreferencesGroup">
+
+ <child>
+ <object class="GtkBox">
+ <property name="margin-start">24</property>
+ <property name="margin-end">24</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">8</property>
+
+ <child>
+ <object class="GtkBox">
+ <property name="margin-top">20</property>
+ <property name="margin-bottom">20</property>
+ <property name="margin-start">20</property>
+ <property name="margin-end">20</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+
+ <child>
+ <object class="GsLozenge" id="lozenge">
+ <property name="circular">True</property>
+ <property name="icon-name">flag-outline-thin-symbolic</property>
+ <property name="pixel-size">24</property>
+ <style>
+ <class name="large"/>
+ <class name="blue"/>
+ </style>
+ <accessibility>
+ <relation name="labelled-by">title</relation>
+ </accessibility>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkLabel" id="title">
+ <property name="justify">center</property>
+ <!-- this is a placeholder: the text is actually set in code -->
+ <property name="label">Help Translate Shortwave</property>
+ <property name="wrap">True</property>
+ <property name="xalign">0.5</property>
+ <style>
+ <class name="title-2"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkLabel" id="description">
+ <property name="justify">center</property>
+ <!-- This is a placeholder: the actual label is set in code -->
+ <property name="label">Shortwave is designed, developed, and translated by an international community of volunteers.\n\nThis means that while it’s not yet available in your language, you can get involved and help translate it yourself.</property>
+ <property name="wrap">True</property>
+ <property name="xalign">0.5</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkButton">
+ <property name="halign">center</property>
+ <property name="margin-top">14</property>
+ <property name="margin-bottom">14</property>
+ <property name="margin-start">14</property>
+ <property name="margin-end">14</property>
+ <signal name="clicked" handler="button_clicked_cb"/>
+ <style>
+ <class name="suggested-action"/>
+ <class name="pill"/>
+ </style>
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">horizontal</property>
+ <property name="spacing">6</property>
+ <property name="halign">center</property>
+ <property name="margin-start">12</property>
+ <property name="margin-end">12</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="label" translatable="yes">_Translation Website</property>
+ <property name="use-underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">external-link-symbolic</property>
+ </object>
+ </child>
+
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>