Bug 493428 - ‘Edited on’ tooltip not translatable
Summary: ‘Edited on’ tooltip not translatable
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-21 11:27 UTC by Karl Ove Hufthammer
Modified: 2024-10-01 11:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2024-09-21 11:27:52 UTC
SUMMARY
The ‘Edited on’ tooltip is not translatable; it is hardcoded in English.


STEPS TO REPRODUCE
1. Hover over a post that has a pencil icon.

OBSERVED RESULT
The text shown is for example ‘Edited on 01.02.24 15:16’.

EXPECTED RESULT
The text should be shown in the user’s language. This is not possible, as the string is missing from the tokodon.pot file.

ADDITIONAL INFORMATION
The string to translate should be in the format ‘Edited on %1’, not just ‘Edited on’, as the date might not be placed at the end in all languages.
Comment 1 Justin Zobel 2024-09-22 05:58:55 UTC
Confirmed in code that string isn't translatable.

Maybe fixed by https://invent.kde.org/network/tokodon/-/merge_requests/532, awaiting confirmation.
Comment 2 Carl Schwan 2024-10-01 11:25:35 UTC
Git commit 63cfb699898565bd0ad1829fa3365b38cd94facc by Carl Schwan, on behalf of Justin Zobel.
Committed on 01/10/2024 at 11:25.
Pushed by carlschwan into branch 'master'.

Make Edit on translatable

M  +1    -1    src/content/ui/PostDelegate/PostInfoBar.qml

https://invent.kde.org/network/tokodon/-/commit/63cfb699898565bd0ad1829fa3365b38cd94facc
Comment 3 Carl Schwan 2024-10-01 11:25:48 UTC
Git commit e2e265c55703b247c8fe0045be4739c66d15680d by Carl Schwan.
Committed on 01/10/2024 at 11:25.
Pushed by carlschwan into branch 'release/24.08'.

Make Edit on translatable


(cherry picked from commit 63cfb699898565bd0ad1829fa3365b38cd94facc)

e0811b2f Make Edit on translatable
41be2d24 Change as per suggestion from Tobias

Co-authored-by: Justin Zobel <justin.zobel@gmail.com>

M  +1    -1    src/content/ui/PostDelegate/PostInfoBar.qml

https://invent.kde.org/network/tokodon/-/commit/e2e265c55703b247c8fe0045be4739c66d15680d