Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
T
tails
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 965
    • Issues 965
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #17961

Closed
Open
Opened Oct 06, 2020 by intrigeri@intrigeriMaintainer

Various internationalization bugs in the Installer

Translator cannot reorder the arguments

config/chroot_local-includes/usr/lib/python2.7/dist-packages/tails_installer/creator.py:292: warning: 'msgid' format string with unnamed arguments cannot be properly localized:
                                                                                                      The translator cannot reorder the arguments.
                                                                                                      Please consider using a format string with named arguments,
                                                                                                      and a mapping instead of a tuple for the arguments.
config/chroot_local-includes/usr/lib/python2.7/dist-packages/tails_installer/source.py:49: warning: 'msgid' format string with unnamed arguments cannot be properly localized:
                                                                                                    The translator cannot reorder the arguments.
                                                                                                    Please consider using a format string with named arguments,
                                                                                                    and a mapping instead of a tuple for the arguments.
config/chroot_local-includes/usr/lib/python2.7/dist-packages/tails_installer/utils.py:54: warning: 'msgid' format string with unnamed arguments cannot be properly localized:
                                                                                                   The translator cannot reorder the arguments.
                                                                                                   Please consider using a format string with named arguments,
                                                                                                   and a mapping instead of a tuple for the arguments.

Unused translations due to translatable string being computed at runtime

I see lots of occurrences of the _("string %s" % variable) pattern, while it should be _("string %s") % variable, i.e. replacing the %s argument after fetching the translation of "strings %s".

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tails_4.12
Milestone
Tails_4.12 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: tails/tails#17961