зеркало из https://github.com/stride3d/gettextnet.git
Linux scripts
git-svn-id: https://svn.code.sf.net/p/gettextnet/code@15 cfd95cc2-f724-4227-9a96-9a83de4730d4
This commit is contained in:
Родитель
16b1712fa7
Коммит
6b539ea7a9
|
@ -35,7 +35,6 @@
|
|||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<Externalconsole>true</Externalconsole>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
|
|
|
@ -9,7 +9,7 @@ cd "%~dp0"
|
|||
for /F %%l in (.\po\locales.lst) do (
|
||||
if exist "%~dp0.\po\%%l.po" (
|
||||
echo.Compiling satellite assembly. Locale "%%l"
|
||||
"%~dp0..\..\Bin\Debug\GNU.Gettext.Msgfmt.exe" -i.\po\%%l.po -l%%l -d.\Bin\Debug -bExamples.Hello.Messages -ccsc -L"%~dp0..\..\Bin\Debug" -v --debug
|
||||
"%~dp0..\..\Bin\Debug\GNU.Gettext.Msgfmt.exe" -i.\po\%%l.po -l%%l -d.\Bin\Debug -bExamples.Hello.Messages -ccsc -L"%~dp0..\..\Bin\Debug" -v
|
||||
if errorlevel 1 exit /b 1
|
||||
)
|
||||
)
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!bin/sh
|
||||
## Extract messages to PO template file
|
||||
mono ./../../Bin/Debug/GNU.Gettext.Xgettext.exe -d"./" -r -o"./po/Messages.pot"
|
|
@ -2,7 +2,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2012-06-28 14:26:54+0200\n"
|
||||
"PO-Revision-Date: 2012-06-28 14:27:42+0200\n"
|
||||
"PO-Revision-Date: 2012-06-28 20:13:39+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -12,26 +12,33 @@ msgstr ""
|
|||
|
||||
|
||||
#: Program.cs:32
|
||||
#: Program.cs:33
|
||||
msgid "Hello, world!"
|
||||
msgstr ""
|
||||
|
||||
#: Program.cs:47
|
||||
#: Program.cs:48
|
||||
msgid "Text encoding"
|
||||
msgstr ""
|
||||
|
||||
#: Program.cs:49
|
||||
#: Program.cs:50
|
||||
msgid ""
|
||||
"Here is an example of how one might continue a very long string\n"
|
||||
"for the common case the string represents multi-line output.\n"
|
||||
msgstr ""
|
||||
|
||||
#: Program.cs:33
|
||||
#: Program.cs:34
|
||||
msgid "This program is running as process number \"{0}\"."
|
||||
msgstr ""
|
||||
|
||||
#: Program.cs:36
|
||||
#: Program.cs:39
|
||||
#: Program.cs:42
|
||||
#: Program.cs:37
|
||||
#: Program.cs:40
|
||||
#: Program.cs:43
|
||||
msgid "found {0} similar word"
|
||||
msgid_plural "found {0} similar words"
|
||||
msgstr[0] ""
|
||||
|
@ -39,12 +46,14 @@ msgstr[1] ""
|
|||
|
||||
#. Context: Computers
|
||||
#: Program.cs:45
|
||||
#: Program.cs:46
|
||||
msgctxt "Computers"
|
||||
msgid "Text encoding"
|
||||
msgstr ""
|
||||
|
||||
#. Context: Military
|
||||
#: Program.cs:46
|
||||
#: Program.cs:47
|
||||
msgctxt "Military"
|
||||
msgid "Text encoding"
|
||||
msgstr ""
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!bin/sh
|
||||
## Extract messages to PO template file
|
||||
mono ./../../Bin/Debug/GNU.Gettext.Xgettext.exe -d"./" -r -o"./po/Messages.pot"
|
|
@ -2,7 +2,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2012-06-28 14:56:59+0200\n"
|
||||
"PO-Revision-Date: 2012-06-28 14:56:59+0200\n"
|
||||
"PO-Revision-Date: 2012-06-28 19:52:47+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -13,22 +13,28 @@ msgstr ""
|
|||
|
||||
#: Form1.cs:79
|
||||
#: Form1.cs:107
|
||||
#: Form1.cs:84
|
||||
#: Form1.cs:112
|
||||
msgid "Hello, world!"
|
||||
msgstr ""
|
||||
|
||||
#: Form1.cs:84
|
||||
#: Form1.cs:89
|
||||
msgid "en-US"
|
||||
msgstr ""
|
||||
|
||||
#: Form1.cs:91
|
||||
#: Form1.cs:96
|
||||
msgid "fr-FR"
|
||||
msgstr ""
|
||||
|
||||
#: Form1.cs:98
|
||||
#: Form1.cs:103
|
||||
msgid "ru-RU"
|
||||
msgstr ""
|
||||
|
||||
#: Form1.cs:161
|
||||
#: Form1.cs:166
|
||||
msgid ""
|
||||
"Here is an example of how one might continue a very long string\n"
|
||||
"for the common case the string represents multi-line output.\n"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!bin/sh
|
||||
common_build_options=/target:Build /verbosity:quiet
|
||||
xbuild "./GNU.Gettext/GNU.Gettext.sln" $common_build_options /property:configuration=Release
|
||||
xbuild "./GNU.Gettext/GNU.Gettext.sln" $common_build_options /property:configuration=Debug
|
|
@ -1,10 +1,10 @@
|
|||
#!bin/sh
|
||||
sh ./build-all.sh
|
||||
|
||||
version=1.1
|
||||
common_build_options=/target:Build /verbosity:quiet
|
||||
product_name=GettextNet
|
||||
release_dir=GettextNet
|
||||
xbuild "./GNU.Gettext/GNU.Gettext.sln" $common_build_options /property:configuration=Release
|
||||
xbuild "./GNU.Gettext/GNU.Gettext.sln" $common_build_options /property:configuration=Debug
|
||||
|
||||
rm -f -r ./$release_dir
|
||||
mkdir $release_dir
|
||||
mkdir ./$release_dir/Bin
|
||||
|
|
Загрузка…
Ссылка в новой задаче