Skip to content

Commit

Permalink
fix(ui): translatable yes => 1 (#884)
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 authored Apr 2, 2024
1 parent ee6388d commit e9c7464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/ui/dialogs/filter_edit.ui
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<template class="TubaDialogsFilterEdit" parent="AdwDialog">
<property name="content_width">460</property>
<property name="content_height">520</property>
<property name="title" translatable="1">Edit Filter</property>
<property name="title" translatable="yes">Edit Filter</property>
<child>
<object class="AdwToolbarView">
<child type="top">
Expand Down
2 changes: 1 addition & 1 deletion data/ui/dialogs/profile_edit.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<template class="TubaDialogsProfileEdit" parent="AdwDialog">
<property name="content_width">460</property>
<property name="content_height">520</property>
<property name="title" translatable="1">Edit Profile</property>
<property name="title" translatable="yes">Edit Profile</property>
<child>
<object class="AdwToolbarView">
<child type="top">
Expand Down

0 comments on commit e9c7464

Please sign in to comment.