[sdk/releaseme] test: convert the entire l10n test to mimic the new svn structure

Harald Sitter null at kde.org
Tue Jul 14 15:28:19 BST 2020


Git commit 2424079421a3ff81c690f8326d388e4ca6a6c70d by Harald Sitter.
Committed on 14/07/2020 at 13:02.
Pushed by sitter into branch 'master'.

convert the entire l10n test to mimic the new svn structure

this moves away from the legacy structure.

while the code was dynamic enough to deal with both the new and the old
without requiring changes, aligning the expectations of the test with
the reality in production will make it easier moving forward to add new
tests.
also makes the structure more expected

this also changes the i18n_paths to be kinda the same as the project
names, as-is the case in svn. the paths are effectively the project id
as defined in the repo metadata. that happens to usually be the name but
may not be as names are not unique outside their nested structure on
invent

e.g. mobile/phone, maui/phone would be i18n path mobile-phone and
maui-phone rather than phone as that'd not be unique

R  +0    -0    test/data/l10nrepo/branches/stable/l10n-kf5/de/docs/amarok/index.docbook [from: test/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook - 100% similarity]
C  +0    -0    test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/amarok/amarok.po [from: test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/amarok/amarokcollectionscanner_qt.po [from: test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kde4/de/messages/amarok/amarok.po [from: test/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarok.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kde4/de/messages/amarok/amarokcollectionscanner_qt.po [from: test/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/CMakeLists.txt [from: test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/CMakeLists.txt - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/bar.fake.ogg [from: test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/bar.fake.ogg - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/foo.fake.ogg [from: test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/foo.fake.ogg - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/index.docbook [from: test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/man-amarok.1.docbook [from: test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/man-amarok.1.docbook - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/unicorn/man-unicorn.1.docbook [from: test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/unicorn/man-unicorn.1.docbook - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/messages/amarok/amarok.po [from: test/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarok.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/messages/amarok/amarokcollectionscanner.po [from: test/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/messages/solid/solid_qt.po [from: test/data/l10nrepo/trunk/l10n-kf5/de/messages/frameworks/solid_qt.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/messages/step/step.po [from: test/data/l10nrepo/trunk/l10n-kf5/de/messages/kdeedu/step.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/de/messages/step/step_qt.po [from: test/data/l10nrepo/trunk/l10n-kf5/de/messages/kdeedu/step_qt.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/fr/docs/amarok/amarok/index.docbook [from: test/data/l10nrepo/trunk/l10n-kf5/fr/docs/extragear-multimedia/amarok/index.docbook - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/fr/messages/amarok/amarok.po [from: test/data/l10nrepo/trunk/l10n-kf5/fr/messages/extragear-multimedia/amarok.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/fr/messages/amarok/amarokcollectionscanner.po [from: test/data/l10nrepo/trunk/l10n-kf5/fr/messages/extragear-multimedia/amarokcollectionscanner.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/CMakeLists.txt [from: test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/CMakeLists.txt - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/bar.fake.ogg [from: test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/bar.fake.ogg - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/foo.fake.ogg [from: test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/foo.fake.ogg - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/messages/ki18n/ki18n5.po [from: test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/ki18n5.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/messages/plasma-framework/libplasma5.po [from: test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/libplasma5.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/messages/solid/solid_qt.po [from: test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/solid_qt.po - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/ki18n5/ki18n5.js [from: test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/ki18n5/ki18n5.js - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/ki18n5/trapnakron.pmap [from: test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/ki18n5/trapnakron.pmap - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/libplasma5/libplasma5.js [from: test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/libplasma5/libplasma5.js - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/libplasma5/plasmoid.js [from: test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/libplasma5/plasmoid.js - 100% similarity]
R  +0    -0    test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/proto/proto.js [from: test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/proto/proto.js - 100% similarity]
R  +0    -0    test/data/skip-cmakelist/CMakeLists.txt [from: test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po - 100% similarity]
M  +1    -1    test/documentation_test.rb
M  +8    -6    test/l10n_test.rb

https://invent.kde.org/sdk/releaseme/commit/2424079421a3ff81c690f8326d388e4ca6a6c70d

diff --git a/test/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook b/test/data/l10nrepo/branches/stable/l10n-kf5/de/docs/amarok/index.docbook
similarity index 100%
rename from test/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
rename to test/data/l10nrepo/branches/stable/l10n-kf5/de/docs/amarok/index.docbook
diff --git a/test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po b/test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/amarok/amarok.po
similarity index 100%
copy from test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po
copy to test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/amarok/amarok.po
diff --git a/test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po b/test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/amarok/amarokcollectionscanner_qt.po
similarity index 100%
rename from test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
rename to test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/amarok/amarokcollectionscanner_qt.po
diff --git a/test/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarok.po b/test/data/l10nrepo/trunk/l10n-kde4/de/messages/amarok/amarok.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarok.po
rename to test/data/l10nrepo/trunk/l10n-kde4/de/messages/amarok/amarok.po
diff --git a/test/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po b/test/data/l10nrepo/trunk/l10n-kde4/de/messages/amarok/amarokcollectionscanner_qt.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
rename to test/data/l10nrepo/trunk/l10n-kde4/de/messages/amarok/amarokcollectionscanner_qt.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/CMakeLists.txt b/test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/CMakeLists.txt
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/CMakeLists.txt
rename to test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/CMakeLists.txt
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/bar.fake.ogg b/test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/bar.fake.ogg
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/bar.fake.ogg
rename to test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/bar.fake.ogg
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/foo.fake.ogg b/test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/foo.fake.ogg
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/data/kdegames/ktuberling/foo.fake.ogg
rename to test/data/l10nrepo/trunk/l10n-kf5/de/data/ktuberling/ktuberling/foo.fake.ogg
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook b/test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/index.docbook
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
rename to test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/index.docbook
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/man-amarok.1.docbook b/test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/man-amarok.1.docbook
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/man-amarok.1.docbook
rename to test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/man-amarok.1.docbook
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/unicorn/man-unicorn.1.docbook b/test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/unicorn/man-unicorn.1.docbook
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/unicorn/man-unicorn.1.docbook
rename to test/data/l10nrepo/trunk/l10n-kf5/de/docs/amarok/amarok/unicorn/man-unicorn.1.docbook
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarok.po b/test/data/l10nrepo/trunk/l10n-kf5/de/messages/amarok/amarok.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarok.po
rename to test/data/l10nrepo/trunk/l10n-kf5/de/messages/amarok/amarok.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner.po b/test/data/l10nrepo/trunk/l10n-kf5/de/messages/amarok/amarokcollectionscanner.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner.po
rename to test/data/l10nrepo/trunk/l10n-kf5/de/messages/amarok/amarokcollectionscanner.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/messages/frameworks/solid_qt.po b/test/data/l10nrepo/trunk/l10n-kf5/de/messages/solid/solid_qt.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/messages/frameworks/solid_qt.po
rename to test/data/l10nrepo/trunk/l10n-kf5/de/messages/solid/solid_qt.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/messages/kdeedu/step.po b/test/data/l10nrepo/trunk/l10n-kf5/de/messages/step/step.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/messages/kdeedu/step.po
rename to test/data/l10nrepo/trunk/l10n-kf5/de/messages/step/step.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/de/messages/kdeedu/step_qt.po b/test/data/l10nrepo/trunk/l10n-kf5/de/messages/step/step_qt.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/de/messages/kdeedu/step_qt.po
rename to test/data/l10nrepo/trunk/l10n-kf5/de/messages/step/step_qt.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/fr/docs/extragear-multimedia/amarok/index.docbook b/test/data/l10nrepo/trunk/l10n-kf5/fr/docs/amarok/amarok/index.docbook
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/fr/docs/extragear-multimedia/amarok/index.docbook
rename to test/data/l10nrepo/trunk/l10n-kf5/fr/docs/amarok/amarok/index.docbook
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/fr/messages/extragear-multimedia/amarok.po b/test/data/l10nrepo/trunk/l10n-kf5/fr/messages/amarok/amarok.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/fr/messages/extragear-multimedia/amarok.po
rename to test/data/l10nrepo/trunk/l10n-kf5/fr/messages/amarok/amarok.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/fr/messages/extragear-multimedia/amarokcollectionscanner.po b/test/data/l10nrepo/trunk/l10n-kf5/fr/messages/amarok/amarokcollectionscanner.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/fr/messages/extragear-multimedia/amarokcollectionscanner.po
rename to test/data/l10nrepo/trunk/l10n-kf5/fr/messages/amarok/amarokcollectionscanner.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/CMakeLists.txt b/test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/CMakeLists.txt
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/CMakeLists.txt
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/CMakeLists.txt
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/bar.fake.ogg b/test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/bar.fake.ogg
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/bar.fake.ogg
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/bar.fake.ogg
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/foo.fake.ogg b/test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/foo.fake.ogg
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/data/kdegames/ktuberling/foo.fake.ogg
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/data/ktuberling/ktuberling/foo.fake.ogg
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/ki18n5.po b/test/data/l10nrepo/trunk/l10n-kf5/sr/messages/ki18n/ki18n5.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/ki18n5.po
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/messages/ki18n/ki18n5.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/libplasma5.po b/test/data/l10nrepo/trunk/l10n-kf5/sr/messages/plasma-framework/libplasma5.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/libplasma5.po
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/messages/plasma-framework/libplasma5.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/solid_qt.po b/test/data/l10nrepo/trunk/l10n-kf5/sr/messages/solid/solid_qt.po
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/messages/frameworks/solid_qt.po
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/messages/solid/solid_qt.po
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/ki18n5/ki18n5.js b/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/ki18n5/ki18n5.js
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/ki18n5/ki18n5.js
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/ki18n5/ki18n5.js
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/ki18n5/trapnakron.pmap b/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/ki18n5/trapnakron.pmap
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/ki18n5/trapnakron.pmap
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/ki18n5/trapnakron.pmap
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/libplasma5/libplasma5.js b/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/libplasma5/libplasma5.js
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/libplasma5/libplasma5.js
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/libplasma5/libplasma5.js
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/libplasma5/plasmoid.js b/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/libplasma5/plasmoid.js
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/libplasma5/plasmoid.js
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/ki18n/libplasma5/plasmoid.js
diff --git a/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/proto/proto.js b/test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/proto/proto.js
similarity index 100%
rename from test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/frameworks/proto/proto.js
rename to test/data/l10nrepo/trunk/l10n-kf5/sr/scripts/proto/proto.js
diff --git a/test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po b/test/data/skip-cmakelist/CMakeLists.txt
similarity index 100%
rename from test/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po
rename to test/data/skip-cmakelist/CMakeLists.txt
diff --git a/test/documentation_test.rb b/test/documentation_test.rb
index 7a92a72..1883ec1 100644
--- a/test/documentation_test.rb
+++ b/test/documentation_test.rb
@@ -57,7 +57,7 @@ class TestDocumentation < Testme
   end
 
   def setup
-    @i18n_path = 'extragear-multimedia'
+    @i18n_path = 'amarok'
     @trunk_url = 'trunk/l10n-kf5/'
     @stable_url = 'branches/stable/l10n-kf5'
 
diff --git a/test/l10n_test.rb b/test/l10n_test.rb
index 7356197..c2bb624 100644
--- a/test/l10n_test.rb
+++ b/test/l10n_test.rb
@@ -58,7 +58,7 @@ class TestL10n < Testme
   end
 
   def setup
-    @i18n_path = 'extragear-multimedia'
+    @i18n_path = 'amarok'
     @trunk_url = 'trunk/l10n-kf5/'
     @stable_url = 'branches/stable/l10n-kf5'
 
@@ -267,7 +267,7 @@ class TestL10n < Testme
   def test_script
     # https://techbase.kde.org/Localization/Concepts/Transcript
 
-    l = create_l10n('ki18n', 'frameworks')
+    l = create_l10n('ki18n', 'ki18n')
     l.init_repo_url("file:///#{Dir.pwd}/#{@svn_template_dir}")
     FileUtils.rm_rf(@dir)
     FileUtils.cp_r(data('multi-pot-script'), @dir)
@@ -321,7 +321,7 @@ class TestL10n < Testme
     # tree without breaking anything. As such we need no source tree for the
     # test at all.
 
-    l = create_l10n('ktuberling', 'kdegames')
+    l = create_l10n('ktuberling', 'ktuberling')
     l.init_repo_url("file:///#{Dir.pwd}/#{@svn_template_dir}")
 
     Dir.mkdir(@dir)
@@ -380,7 +380,7 @@ class TestL10n < Testme
     # Qt strings get put into a foo_qt.po, they are meant to get installed via
     # ecm_install_po_files_as_qm from ECM.
 
-    l = create_l10n('step', 'kdeedu')
+    l = create_l10n('step', 'step')
     l.init_repo_url("file:///#{Dir.pwd}/#{@svn_template_dir}")
 
     FileUtils.rm_rf(@dir)
@@ -401,7 +401,7 @@ class TestL10n < Testme
     # frameworks using both, but I'd like to think that it would be consistent
     # with how applications handle it: po/ and poqm/.
 
-    l = create_l10n('solid', 'frameworks')
+    l = create_l10n('solid', 'solid')
     l.init_repo_url("file:///#{Dir.pwd}/#{@svn_template_dir}")
 
     FileUtils.rm_rf(@dir)
@@ -422,7 +422,7 @@ class TestL10n < Testme
     # them, so we'll use lack of UI translations as indication for poor quality
     # everywhere).
 
-    l = create_l10n('solid', 'frameworks')
+    l = create_l10n('solid', 'solid')
     l.init_repo_url("file:///#{Dir.pwd}/#{@svn_template_dir}")
 
     FileUtils.rm_rf(@dir)
@@ -442,6 +442,8 @@ class TestL10n < Testme
     # org.kde.pod.pot
     # https://bugs.kde.org/show_bug.cgi?id=420574
 
+    # NB: this is intentionally a different i18n_path to implicitly make sure
+    # that works
     l = create_l10n('kdeplasmas-addons', 'kde-workspace')
     l.init_repo_url("file:///#{Dir.pwd}/#{@svn_template_dir}")
 



More information about the kde-doc-english mailing list