-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdminTranslations removes leading empty spaces after saving the translation #3728
Comments
to fix your trouble try download this fix, i see it in another issue, |
MichaelThumes
added a commit
that referenced
this issue
Sep 4, 2024
MichaelThumes
added a commit
that referenced
this issue
Sep 4, 2024
MichaelThumes
added a commit
that referenced
this issue
Sep 5, 2024
MichaelThumes
added a commit
that referenced
this issue
Sep 5, 2024
svenoe
pushed a commit
that referenced
this issue
Sep 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you add a new translation via Action=AdminTranslations and source or target language string contain a leading empty space ' ', it is automatically removed from both strings after saving the translation.

This is important, because you e.g. have the System Configuration setting "Ticket::Frontend::TimeUnits", where by default you have the string " (work units)" which you often change, e.g. to " (in minutes)". This string always contains the leading empty space.
When you e.g. translate now " (in minutes)" to " (in Minuten)" in German and save it, you have the source string "(in minutes)" and the target string "(in MInuten)".
This is after saving:
I tested in ov270 with OTOBO 11.0.5
(Another workaround fix would be to not have the empty space in the setting necessary, but it should work nevertheless.)
The text was updated successfully, but these errors were encountered: