facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
52 lines
1.3 KiB
Bash
Executable File
52 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test of Shell support: bash $(...) syntax.
|
|
|
|
cat <<\EOF > xg-sh-5.sh
|
|
echo $(gettext 'Simple string')
|
|
echo "$(gettext 'Simple string inside double-quotes')"
|
|
echo $(gettext 'Simple decorated string: "x" \"y\"')
|
|
echo "$(gettext 'Simple decorated string: "x" \"y\" inside double-quotes')"
|
|
echo $(gettext "Simple dstring")
|
|
echo "$(gettext "Simple dstring inside double-quotes")"
|
|
echo $(gettext "Simple decorated dstring: \"x\" \\\"y\\\"")
|
|
echo "$(gettext "Simple decorated dstring: \"x\" \\\"y\\\" inside double-quotes")"
|
|
EOF
|
|
|
|
: ${XGETTEXT=xgettext}
|
|
${XGETTEXT} --omit-header --no-location -d xg-sh-5.tmp xg-sh-5.sh || Exit 1
|
|
LC_ALL=C tr -d '\r' < xg-sh-5.tmp.po > xg-sh-5.po || Exit 1
|
|
|
|
cat <<\EOF > xg-sh-5.ok
|
|
msgid "Simple string"
|
|
msgstr ""
|
|
|
|
msgid "Simple string inside double-quotes"
|
|
msgstr ""
|
|
|
|
msgid "Simple decorated string: \"x\" \\\"y\\\""
|
|
msgstr ""
|
|
|
|
msgid "Simple decorated string: \"x\" \\\"y\\\" inside double-quotes"
|
|
msgstr ""
|
|
|
|
msgid "Simple dstring"
|
|
msgstr ""
|
|
|
|
msgid "Simple dstring inside double-quotes"
|
|
msgstr ""
|
|
|
|
msgid "Simple decorated dstring: \"x\" \\\"y\\\""
|
|
msgstr ""
|
|
|
|
msgid "Simple decorated dstring: \"x\" \\\"y\\\" inside double-quotes"
|
|
msgstr ""
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} xg-sh-5.ok xg-sh-5.po
|
|
result=$?
|
|
|
|
exit $result
|