commit 441777f9e68a71ecfc2aca6687ee1525e3ae381c
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Tue Sep 11 00:27:49 2018 -0400
Update find-lang for new translation files
OpenShot's next release will move its translation files to
a new location and file naming scheme. It's still unusual
and requires special processing, but less so.
Since we may still need to build new OpenShot-2.4.2 RPMs,
`openshot-find-lang.sh` supports both schemes for now.
openshot-find-lang.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openshot-find-lang.sh b/openshot-find-lang.sh
index af97b9f..8f74517 100755
--- a/openshot-find-lang.sh
+++ b/openshot-find-lang.sh
@@ -243,8 +243,8 @@ s:%lang(C) ::
find "$TOP_DIR" -type f -o -type l|sed '
s:'"$TOP_DIR"'::
+'"$NO_ALL_NAME$QT"'s:\(.*/'"$NAME"'\.\([a-zA-Z]\{2,3\}\([_@].*\)\?\)\.qm$\):%lang(\2)
\1:
'"$NO_ALL_NAME$QT"'s:\(.*/locale/\)\([^/_]\+\)\(.*/'"$NAME"'\.qm$\):%lang(\2)
\1\2\3:
-#'"$NO_ALL_NAME$QT"'s:\(.*/'"$NAME"'_\([a-zA-Z]\{2\}\([_@].*\)\?\)\.qm$\):%lang(\2)
\1:
'"$ALL_NAME$QT"'s:^\([^%].*/\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2)
\1:
'"$ALL_NAME$QT"'s:^\([^%].*/\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/[^/_]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2)
\1:
Show replies by date