Skip to content

L10n bug for WelcomeWidget #1236

@peremen

Description

@peremen

Expected Behavior

At least for Korean, and probably some other languages, proper localization of welcome placeholder is not just appending the version number at the end of localized text, but it should appear in the middle of the text.

Current Behavior

Instead of using proper placeholder for version string, line 32 of src/gui/WelcomeWidget.cpp simply attaches version number after localized string of "Welcome to KeePassXC".

Possible Solution

Modify line 32 of the source code like:
m_ui->welcomeLabel->setText(tr("Welcome to KeePassXC %1").arg(KEEPASSX_VERSION));
to allow translator to change the position of version string.

Steps to Reproduce (for bugs)

  1. Open KeePassXC in Korean locale.
  2. Version number should appear in the middle of sentence, instead at the end.

Context

L10n bug

Debug Info

KeePassXC - Version 2.2.2
Revision: 6d46717

Libraries:

  • Qt 5.9.1
  • libgcrypt 1.7.8

Operating system: Ubuntu 17.10
CPU architecture: x86_64
Kernel: linux 4.13.0-17-generic

Enabled extensions:

  • KeePassHTTP
  • Auto-Type
  • YubiKey

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions