Bug 492237 - i18n scripts missing
Summary: i18n scripts missing
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexttemplate
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.5.0
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-26 22:24 UTC by Andy
Modified: 2024-10-31 13:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2024-08-26 22:24:43 UTC
SUMMARY

From the docs:

   https://api.kde.org/frameworks/ktexttemplate/html/i18n_l10n.html

> KTextTemplate provides scripts for extracting translatable strings from templates.

> It is quite simple to automate the extraction of translatable strings in your build process.

The scripts, however, do not exist in the KTextTemplate repo.

SOFTWARE/OS VERSIONS

(<i>all</i>)

ADDITIONAL INFORMATION

On the KDE mailing list, Nico Fella said that the scripts from Grantlee didn't make it over to KDE when the migration was done. They are located here:

https://github.com/steveire/grantlee/tree/master/scripts
Comment 1 Bug Janitor Service 2024-08-31 13:08:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/libraries/ktextaddons/-/merge_requests/21
Comment 2 Nicolas Fella 2024-10-31 13:43:25 UTC
Git commit ff0fd8f45b5551c9171710e88754c62884a9842c by Nicolas Fella.
Committed on 31/10/2024 at 13:43.
Pushed by nicolasfella into branch 'master'.

Import i18n scripts from grantlee

These are useful for internationalizing strings in templates

A  +9    -0    LICENSES/BSD-2-Clause.txt
A  +28   -0    scripts/extract_strings_gettext.py
A  +27   -0    scripts/extract_strings_linguist.py
A  +346  -0    scripts/strings_extractor.py
A  +27   -0    scripts/strings_extractor_gettext.py
A  +28   -0    scripts/strings_extractor_linguist.py

https://invent.kde.org/frameworks/ktexttemplate/-/commit/ff0fd8f45b5551c9171710e88754c62884a9842c