summaryrefslogtreecommitdiffstats
path: root/solenv/bin/localestr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
commit940b4d1848e8c70ab7642901a68594e8016caffc (patch)
treeeb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /solenv/bin/localestr
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'solenv/bin/localestr')
-rwxr-xr-xsolenv/bin/localestr20
1 files changed, 20 insertions, 0 deletions
diff --git a/solenv/bin/localestr b/solenv/bin/localestr
new file mode 100755
index 000000000..c66d40cbf
--- /dev/null
+++ b/solenv/bin/localestr
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+ ca-valencia)
+ echo ca@valencia
+ ;;
+ kmr-Latn)
+ echo kmr@latin
+ ;;
+ sr-Latn)
+ echo sr@latin
+ ;;
+ hu-Hung)
+ echo hu@hung
+ ;;
+ *)
+ echo $1 | tr '-' '_'
+ ;;
+esac
+