Commit ffba4dfe authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

Merge branch 'piotrdrag/i18n-setup' into 'master'

i18n fix-ups

See merge request !4
parents e3cacf87 a985f19d
Pipeline #103698 passed with stages
in 14 minutes and 14 seconds
...@@ -6,7 +6,8 @@ Type=Application ...@@ -6,7 +6,8 @@ Type=Application
Exec=icon-library Exec=icon-library
Terminal=false Terminal=false
Categories=Utility;GNOME;GTK; Categories=Utility;GNOME;GTK;
Keywords=Icon;Library;Gnome;GTK; # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=Icon;Library;GNOME;GTK;
# Translators: Do NOT translate or transliterate this text (this is an icon file name)! # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=@icon@ Icon=@icon@
StartupNotify=true StartupNotify=true
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</key> </key>
<key name="window-height" type="i"> <key name="window-height" type="i">
<default>-1</default> <default>-1</default>
<summary>Heigh of the last opened window</summary> <summary>Height of the last opened window</summary>
</key> </key>
<key name="window-x" type="i"> <key name="window-x" type="i">
<default>-1</default> <default>-1</default>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="modal">True</property> <property name="modal">True</property>
<property name="type_hint">dialog</property> <property name="type_hint">dialog</property>
<property name="program_name">@name-prefix@Icon Library</property> <property name="program_name" translatable="yes">@name-prefix@Icon Library</property>
<property name="version">@version@</property> <property name="version">@version@</property>
<property name="website">https://gitlab.gnome.org/World/design/icon-library</property> <property name="website">https://gitlab.gnome.org/World/design/icon-library</property>
<property name="authors">Bilal Elmoussaoui</property> <property name="authors">Bilal Elmoussaoui</property>
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<property name="layout_style">end</property> <property name="layout_style">end</property>
<child> <child>
<object class="GtkButton" id="copy_name_btn"> <object class="GtkButton" id="copy_name_btn">
<property name="label" translatable="yes">Copy Icon Name</property> <property name="label" translatable="yes">Copy Icon Name</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="save_as_btn"> <object class="GtkButton" id="save_as_btn">
<property name="label" translatable="yes">Save as...</property> <property name="label" translatable="yes">Save As…</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<property name="default_width">650</property> <property name="default_width">650</property>
<property name="default_height">500</property> <property name="default_height">500</property>
<property name="icon_name">@app-id@</property> <property name="icon_name">@app-id@</property>
<property name="title">@name-prefix@ Icon Library</property> <property name="title" translatable="yes">@name-prefix@Icon Library</property>
<child type="titlebar"> <child type="titlebar">
<object class="HdyHeaderBar" id="headerbar"> <object class="HdyHeaderBar" id="headerbar">
<property name="visible">True</property> <property name="visible">True</property>
......
...@@ -2,6 +2,7 @@ data/org.gnome.design.IconLibrary.appdata.xml.in.in ...@@ -2,6 +2,7 @@ data/org.gnome.design.IconLibrary.appdata.xml.in.in
data/org.gnome.design.IconLibrary.desktop.in.in data/org.gnome.design.IconLibrary.desktop.in.in
data/org.gnome.design.IconLibrary.gschema.xml.in data/org.gnome.design.IconLibrary.gschema.xml.in
data/resources/ui/about_dialog.ui.in data/resources/ui/about_dialog.ui.in
data/resources/ui/export_dialog.ui
data/resources/ui/menu.ui data/resources/ui/menu.ui
data/resources/ui/shortcuts.ui data/resources/ui/shortcuts.ui
data/resources/ui/window.ui.in data/resources/ui/window.ui.in
......
...@@ -110,7 +110,7 @@ impl IconsView { ...@@ -110,7 +110,7 @@ impl IconsView {
.list_icons(Some(context_str)) .list_icons(Some(context_str))
.into_iter() .into_iter()
.filter(|icon_name| { .filter(|icon_name| {
// filter out uneeded icons // filter out unneeded icons
!icons_blacklist.contains(&icon_name.as_str()) && icon_name.ends_with("-symbolic") !icons_blacklist.contains(&icon_name.as_str()) && icon_name.ends_with("-symbolic")
}) })
.map(|icon_name| Icon { .map(|icon_name| Icon {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment