Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b267d4b3 authored by Elike24's avatar Elike24 Committed by Danny Baumann
Browse files

Contacts: Fixed "%s" appearing in contact options in some languages

In the contacts-app, when looking at a contact, there is a entry in the options called "Copy to SIM" (or similar) in most cases.
The text in the translation file for this is "Copy to <xliff:g id="destination">%s</xliff:g>" (%s at the end), while the text is "Nach <xliff:g id="destination">%s</xliff:g> kopieren" (%s in the middle) in the German translation for example.
The problem is that the destination (e.g. "SIM") is added using the plus operator instead of replacing the %s.
This does not cause any trouble if the %s stands at the end, such as in English, but in German it causes "Nach %s kopierenSIM" instead of "Nach SIM kopieren".
Adding "SIM" as second parameter in getString() instead of using "+" should replace %s by "SIM" and fix the problem.

Change-Id: I81d3d1b366e7bbff3e331af67295c53100f5840a
parent 420be572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment