[gnome-builder] buildui: Enhance translators comment with CAPS



commit acb91a39e9c57f3d76e96552af703035b6193be9
Author: vanadiae <vanadiae35 gmail com>
Date:   Wed Jun 16 18:19:37 2021 +0200

    buildui: Enhance translators comment with CAPS
    
    It seems like quite a few language teams have translated wrongly the 'true'
    homogeonous value, although there clearly is a warning saying it shouldn't be
    localized to the target language. Just run grep '^msgid "true"' -A 1 *
    --no-filename --no-group-separator | sort | uniq | grep -vE '(false|true)' in
    the po/ directory will show you that 11 language currently have a broken button
    layout in the popover (well, not really broken but it won't have an
    appropriatate sizing).
    
    I doubt it will change much to it, but I changed the true to True so it
    invalidates the translation and hopefully they'll see the big caps translator
    comment. :)

 src/plugins/buildui/gbp-buildui-omni-bar-section.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/buildui/gbp-buildui-omni-bar-section.ui 
b/src/plugins/buildui/gbp-buildui-omni-bar-section.ui
index 2c15f3fe8..a920c75f8 100644
--- a/src/plugins/buildui/gbp-buildui-omni-bar-section.ui
+++ b/src/plugins/buildui/gbp-buildui-omni-bar-section.ui
@@ -481,8 +481,8 @@
             <property name="margin_end">24</property>
             <property name="margin_top">24</property>
             <property name="spacing">6</property>
-            <!-- translators: valid values are 'true' or 'false', untranslated. If the buttons in the build 
popover are too large because of translations, set to false to disable homogeneous sizing -->
-            <property name="homogeneous" translatable="yes">true</property>
+            <!-- TRANSLATORS: valid values are True or False. DO NOT TRANSLATE False and True, otherwise 
it'll break the layout of the button. If the buttons in the build popover are too large because of 
translations, set to False to disable homogeneous sizing -->
+            <property name="homogeneous" translatable="yes">True</property>
             <child>
               <object class="GtkButton">
                 <property name="label" translatable="yes">Build</property>


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