Bug 441883 - Scripty stopped updating websites-capacity/includes/i18n/*/media.inc
Summary: Scripty stopped updating websites-capacity/includes/i18n/*/media.inc
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-01 23:12 UTC by Alexander Potashev
Modified: 2021-09-08 19:55 UTC (History)
1 user (show)

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 Alexander Potashev 2021-09-01 23:12:38 UTC
SUMMARY
Scripty stopped updating websites-capacity/includes/i18n/*/media.inc. It currently updates capacity.inc instead, however capacity.inc is never referenced by PHP code (media.inc is still used instead, see https://invent.kde.org/websites/capacity/-/blob/master/includes/functions.inc#L177 )

The problem was likely caused by https://invent.kde.org/sysadmin/l10n-scripty/-/commit/1476b133e2aaeb3d8218fb7a1b964487dcd6fb12

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2021-09-06 22:15:32 UTC
Luigi since it seems you broke it, can you have a look?
Comment 2 Bug Janitor Service 2021-09-06 22:55:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/websites/capacity/-/merge_requests/1
Comment 3 Luigi Toscano 2021-09-08 19:55:15 UTC
Git commit 35c70daf9215415b4db8a0cabac7a39b3183b2d8 by Luigi Toscano.
Committed on 06/09/2021 at 22:52.
Pushed by aacid into branch 'master'.

Fix translations: refer to a different translation file

Before some refactoring in scripty, the translation file was extracted
as media.inc. After the refactoring the output file name is called
capacity.inc. The .inc file name is referenced only one, so use
the new one instead of adding a special handling for this repository.

See also:
https://commits.kde.org/sysadmin-l10n-scripty/1476b133e2aaeb3d8218fb7a1b964487dcd6fb12

M  +1    -1    includes/functions.inc

https://invent.kde.org/websites/capacity/commit/35c70daf9215415b4db8a0cabac7a39b3183b2d8