Bug 492237

Summary: i18n scripts missing
Product: [Frameworks and Libraries] frameworks-ktexttemplate Reporter: Andy <imol00+kde>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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