Skip to content

Commit

Permalink
ui: Fix translatable usage
Browse files Browse the repository at this point in the history
Marking translatable="yes" or translatable="1" actually
achieves the same result, but almost all projects use the first one.

It's good to follow common practices.
  • Loading branch information
yakushabb committed Apr 5, 2024
1 parent 594dc60 commit 00295ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/ui/dialogs/new_account.ui
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<object class="AdwPreferencesGroup">
<child>
<object class="AdwEntryRow" id="instance_entry">
<property name="title" translatable="true">Server URL</property>
<property name="title" translatable="yes">Server URL</property>
<property name="input_purpose">url</property>
<signal name="entry_activated" handler="on_next_clicked" swapped="no"/>
<signal name="changed" handler="clear_errors" swapped="no"/>
Expand Down Expand Up @@ -151,7 +151,7 @@
<property name="visible" bind-source="TubaDialogsNewAccount" bind-property="use_auto_auth" bind-flags="sync-create|invert-boolean"/>
<child>
<object class="AdwEntryRow" id="code_entry">
<property name="title" translatable="true">Authorization Code</property>
<property name="title" translatable="yes">Authorization Code</property>
<signal name="entry_activated" handler="on_next_clicked" swapped="no"/>
<signal name="changed" handler="clear_errors" swapped="no"/>
</object>
Expand Down Expand Up @@ -208,7 +208,7 @@
<property name="vexpand">1</property>
<property name="icon_name">tuba-check-round-outline-symbolic</property>
<property name="title">Hello!</property>
<property name="description" translatable="true">Your account is connected and ready to use!</property>
<property name="description" translatable="yes">Your account is connected and ready to use!</property>
<style>
<class name="compact"/>
</style>
Expand Down

0 comments on commit 00295ee

Please sign in to comment.