[kde-doc-english] [releaseme/rewrite] lib: switch l10n testing to kf5 paths
Harald Sitter
sitter at kde.org
Fri May 16 11:30:25 UTC 2014
Git commit fa5e9007e1ddf5d9f5593b2bfcd4d39905daf060 by Harald Sitter.
Committed on 16/05/2014 at 11:24.
Pushed by sitter into branch 'rewrite'.
switch l10n testing to kf5 paths
M +1 -1 lib/kdel10n.rb
A +1 -0 lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
R +0 -0 lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po [from: lib/tests/data/l10nrepo/branches/stable/l10n-kde4/de/messages/extragear-multimedia/amarok.po - 100% similarity]
R +0 -0 lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po [from: lib/tests/data/l10nrepo/branches/stable/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po - 100% similarity]
R +0 -0 lib/tests/data/l10nrepo/branches/stable/l10n-kf5/subdirs [from: lib/tests/data/l10nrepo/branches/stable/l10n-kde4/subdirs - 100% similarity]
A +1 -0 lib/tests/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
R +0 -0 lib/tests/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarok.po [from: lib/tests/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarok.po - 100% similarity]
R +0 -0 lib/tests/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po [from: lib/tests/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po - 100% similarity]
R +0 -0 lib/tests/data/l10nrepo/trunk/l10n-kf5/subdirs [from: lib/tests/data/l10nrepo/trunk/l10n-kde4/subdirs - 100% similarity]
M +4 -4 lib/tests/ts_l10n.rb
http://commits.kde.org/releaseme/fa5e9007e1ddf5d9f5593b2bfcd4d39905daf060
diff --git a/lib/kdel10n.rb b/lib/kdel10n.rb
index 235ba9e..9f9f2cb 100644
--- a/lib/kdel10n.rb
+++ b/lib/kdel10n.rb
@@ -84,7 +84,7 @@ class KdeL10n < Source
else
repoUrl.concat("branches/stable/")
end
- repoUrl.concat("/l10n-kde4/")
+ repoUrl.concat("/l10n-kf5/")
@vcs.repository = repoUrl
end
diff --git a/lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook b/lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
new file mode 100644
index 0000000..8d1c8b6
--- /dev/null
+++ b/lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
@@ -0,0 +1 @@
+
diff --git a/lib/tests/data/l10nrepo/branches/stable/l10n-kde4/de/messages/extragear-multimedia/amarok.po b/lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po
similarity index 100%
rename from lib/tests/data/l10nrepo/branches/stable/l10n-kde4/de/messages/extragear-multimedia/amarok.po
rename to lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarok.po
diff --git a/lib/tests/data/l10nrepo/branches/stable/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po b/lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
similarity index 100%
rename from lib/tests/data/l10nrepo/branches/stable/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
rename to lib/tests/data/l10nrepo/branches/stable/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
diff --git a/lib/tests/data/l10nrepo/branches/stable/l10n-kde4/subdirs b/lib/tests/data/l10nrepo/branches/stable/l10n-kf5/subdirs
similarity index 100%
rename from lib/tests/data/l10nrepo/branches/stable/l10n-kde4/subdirs
rename to lib/tests/data/l10nrepo/branches/stable/l10n-kf5/subdirs
diff --git a/lib/tests/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook b/lib/tests/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
new file mode 100644
index 0000000..8d1c8b6
--- /dev/null
+++ b/lib/tests/data/l10nrepo/trunk/l10n-kf5/de/docs/extragear-multimedia/amarok/index.docbook
@@ -0,0 +1 @@
+
diff --git a/lib/tests/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarok.po b/lib/tests/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarok.po
similarity index 100%
rename from lib/tests/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarok.po
rename to lib/tests/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarok.po
diff --git a/lib/tests/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po b/lib/tests/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
similarity index 100%
rename from lib/tests/data/l10nrepo/trunk/l10n-kde4/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
rename to lib/tests/data/l10nrepo/trunk/l10n-kf5/de/messages/extragear-multimedia/amarokcollectionscanner_qt.po
diff --git a/lib/tests/data/l10nrepo/trunk/l10n-kde4/subdirs b/lib/tests/data/l10nrepo/trunk/l10n-kf5/subdirs
similarity index 100%
rename from lib/tests/data/l10nrepo/trunk/l10n-kde4/subdirs
rename to lib/tests/data/l10nrepo/trunk/l10n-kf5/subdirs
diff --git a/lib/tests/ts_l10n.rb b/lib/tests/ts_l10n.rb
index fe5c2f7..98adf65 100644
--- a/lib/tests/ts_l10n.rb
+++ b/lib/tests/ts_l10n.rb
@@ -13,8 +13,8 @@ class TestL10n < Test::Unit::TestCase
@module = "extragear"
@section = "multimedia"
- @trunkUrl = "trunk/l10n-kde4/"
- @stableUrl = "branches/stable/l10n-kde4"
+ @trunkUrl = "trunk/l10n-kf5/"
+ @stableUrl = "branches/stable/l10n-kf5"
@dir = "tmp_l10n_" + (0...16).map{ ('a'..'z').to_a[rand(26)] }.join
@svnTemplateDir = "tmp_l10n_repo_" + (0...16).map{ ('a'..'z').to_a[rand(26)] }.join
@@ -57,9 +57,9 @@ class TestL10n < Test::Unit::TestCase
l = create_l10n()
assert_equal(l.type, KdeL10n::TRUNK)
l.initRepoUrl("file://a")
- assert_equal(l.vcs.repository, "file://a/trunk//l10n-kde4/")
+ assert_equal(l.vcs.repository, "file://a/trunk//l10n-kf5/")
l.initRepoUrl("file://a/")
- assert_equal(l.vcs.repository, "file://a/trunk//l10n-kde4/")
+ assert_equal(l.vcs.repository, "file://a/trunk//l10n-kf5/")
end
def test_find_templates
More information about the kde-doc-english
mailing list