[Commits] [SCM] clawsker branch, master, updated. 1.3.8-3-gc2e9ddb

mones at claws-mail.org mones at claws-mail.org
Fri Jul 12 18:20:50 UTC 2024


The branch, master has been updated
       via  c2e9ddbecf8526eeae0bdb85c6ae2bee4cd532ee (commit)
      from  7b1d8b00ffb05c5906f814d9a77b9dd69f998162 (commit)

Summary of changes:
 clawsker | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit c2e9ddbecf8526eeae0bdb85c6ae2bee4cd532ee
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Jul 12 20:20:38 2024 +0200

    A single string is enough for this

diff --git a/clawsker b/clawsker
index 69fa96e..c11ec45 100755
--- a/clawsker
+++ b/clawsker
@@ -250,6 +250,8 @@ sub _ {
     l_plu_prl_manual => _('Manual'),
     l_plu_prl_action => _('Actions'),
     l_plu_prl_match => _('Matches'),
+
+    not_avail => _('Not available'),
 );
 
 # labels associated to history file names
@@ -2480,8 +2482,8 @@ sub new_info_page() {
     return new_grid_pack (4, 11, [
         [ _('Library versions') ],
         [ new_label ('Perl-GLib'), new_title ($v->{'glib'}) ],
-        [ new_label (_('GLib runtime')), new_title ($v->{'glib-r'} // _('not available')) ],
-        [ new_label (_('GLib built')), new_title ($v->{'glib-b'} // _('not available')) ],
+        [ new_label (_('GLib runtime')), new_title ($v->{'glib-r'} // $xl::s{not_avail}) ],
+        [ new_label (_('GLib built')), new_title ($v->{'glib-b'} // $xl::s{not_avail}) ],
         [ new_label ('Perl-GTK3'), new_title ($v->{'gtk'}) ],
         [ new_label (_('GTK3 runtime')), new_title ($v->{'gtk-r'}) ],
         [ new_label (_('GTK3 built')), new_title ($v->{'gtk-b'}) ],
@@ -2506,7 +2508,7 @@ sub get_toolkit_versions {
     if ($Gtk3::VERSION >= 0.034) {
         $versions{'gtk-b'} = join('.', &Gtk3::GET_VERSION_INFO);
     } else {
-        $versions{'gtk-b'} = _('Not available')
+        $versions{'gtk-b'} = $xl::s{not_avail}
     }
     $versions{'gtk-r'} = join('.', &Gtk3::get_version_info);
     return \%versions;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list