octave-maintainers
[Top][All Lists]
Advanced

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

Re: libgui/src/files-dock-widget.cc: unnecessary translated strings?


From: John W. Eaton
Subject: Re: libgui/src/files-dock-widget.cc: unnecessary translated strings?
Date: Tue, 20 Sep 2016 08:34:20 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

On 09/20/2016 03:59 AM, Andreas Weber wrote:
Dear maintainers,

libgui/src/files-dock-widget.cc:82
  _columns_shown_keys.append (tr ("filesdockwidget/showFileSize"));
  _columns_shown_keys.append (tr ("filesdockwidget/showFileType"));
  _columns_shown_keys.append (tr ("filesdockwidget/showLastModified"));
  _columns_shown_keys.append (tr ("filesdockwidget/showHiddenFiles"));
  _columns_shown_keys.append (tr
("filesdockwidget/useAlternatingRowColors"));

As far as I understand the code, these strings are used as keys and not
visible to the user. So is it save to remove the tr ()?

Yes, if they are translated, then the settings they refer to wouldn't be found? So I think you are right that they shouldn't be tagged with tr().

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]