diff --git a/ChangeLog.txt b/ChangeLog.txt index b48f31a80c..c47ead9b7f 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,9 +10,15 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ -2013-03-30 04:20 UTC+0100 Viktor Szakats (harbour syenar.net) +2013-03-30 04:24 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/_po_push.hb * utils/hbmk2/po/hbmk2.en.po + * messing around with EOL types + +2013-03-30 04:20 UTC+0100 Viktor Szakats (harbour syenar.net) + * utils/hbmk2/_po_push.hb + + will now refresh source language .po (.pot) from source code + + will now save source .po locally 2013-03-30 03:52 UTC+0100 Viktor Szakats (harbour syenar.net) + utils/hbmk2/_po_push.hb diff --git a/utils/hbmk2/_po_push.hb b/utils/hbmk2/_po_push.hb index 128f67103a..5d04b00048 100644 --- a/utils/hbmk2/_po_push.hb +++ b/utils/hbmk2/_po_push.hb @@ -28,7 +28,7 @@ PROCEDURE Main( cLogin ) ? "saving locally" - cContent := StrTran( ; + cContent := ; '#, c-format' + hb_eol() + ; 'msgid ""' + hb_eol() + ; 'msgstr ""' + hb_eol() + ; @@ -37,13 +37,13 @@ PROCEDURE Main( cLogin ) '"MIME-Version: 1.0\n"' + hb_eol() + ; '"Content-Type: text/plain; charset=UTF-8\n"' + hb_eol() + ; '"Content-Transfer-Encoding: 8bit\n"' + hb_eol() + hb_eol() + ; - hb_MemoRead( cTemp ), hb_eol(), e"\n" ) + hb_MemoRead( cTemp ) hb_MemoWrit( hb_DirSepToOS( hb_DirBase() + "po/hbmk2.en.po" ), cContent ) ? "uploading" - hb_MemoWrit( cTemp, hb_jsonEncode( { "content" => cContent } ) ) + hb_MemoWrit( cTemp, hb_jsonEncode( { "content" => StrTran( cContent, hb_eol(), e"\n" ) } ) ) hb_run( hb_StrFormat( 'curl -s -i -L --user %1$s -X ' + ; 'PUT -d @%2$s -H "Content-Type: application/json" ' + ; diff --git a/utils/hbmk2/po/hbmk2.en.po b/utils/hbmk2/po/hbmk2.en.po index 46653aabf4..bf5bcece2e 100644 --- a/utils/hbmk2/po/hbmk2.en.po +++ b/utils/hbmk2/po/hbmk2.en.po @@ -7,3 +7,3057 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +# +# This file is generated by Harbour 3.2.0dev (r1303260147) +# + +#: hbmk2.prg:823 +#, c-format +msgid "Press any key to continue..." +msgstr "" + +#: hbmk2.prg:10532 +#, c-format +msgid "Error: Opening: %1$s" +msgstr "" + +#: hbmk2.prg:10489 hbmk2.prg:13977 +#, c-format +msgid "<%1$s directory>" +msgstr "" + +#: hbmk2.prg:10528 +#, c-format +msgid "Processing: %1$s" +msgstr "" + +#: hbmk2.prg:10564 +#, c-format +msgid "Skipping from: %1$s" +msgstr "" + +#: hbmk2.prg:820 +#, c-format +msgid "Exit code: %1$d: %2$s" +msgstr "" + +#: hbmk2.prg:16415 +#, c-format +msgid "To build" +msgstr "" + +#: hbmk2.prg:7604 +#, c-format +msgid "Warning: Pointless usage of %1$s and %2$s options together in '%3$s' line %4$d and %5$d." +msgstr "" + +#: hbmk2.prg:2152 +#, c-format +msgid "Autodetected C compiler '%1$s' skipped because required Harbour core libraries are not found." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "create (or not) an import library (in -hbdyn/-hbexe mode). The name will have a postfix added." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "create import library (in -hbdyn/-hbexe mode) name to (default: same as output)" +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "pass single raw option to linker (dynamic library) after the library list. Use with caution." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "do (not) add Harbour version number and source file reference to .po (default: add them)" +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "add/exclude C compiler debug info. For Harbour level debug, use Harbour option -b as usual" +msgstr "" + +#: hbmk2.prg:15882 +#, c-format +msgid "stop after creating the object files\ncreate link/copy %1$s to hbcmp/clipper for the same effect" +msgstr "" + +#: hbmk2.prg:15911 +#, c-format +msgid "You can sym-link/copy/rename %1$s to the following names to alter default mode of operation:" +msgstr "" + +#: hbmk2.prg:15953 +#, c-format +msgid "when -run option is used, the exit code will be the one returned by the target executable" +msgstr "" + +#: hbmk2.prg:16097 +#, c-format +msgid "filter will pass if ${MACRO} value is not empty and not equal to '0' or 'no' (case insensitive)" +msgstr "" + +#: hbmk2.prg:16195 +#, c-format +msgid "when dependency was detected in a location configured by -depincpathlocal= option" +msgstr "" + +#: hbmk2.prg:16326 +#, c-format +msgid "Regular Harbour compiler options are also accepted as is.\n(see them with -harbourhelp option)" +msgstr "" + +#: hbmk2.prg:16326 +#, c-format +msgid "GNU Make or any C compiler specific make tool and MSYS (on Windows) are not needed to run %1$s." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "generate .ch header file with local repository information. Git, SVN, Mercurial, Bazaar, Fossil, CVS and Monotone are currently supported. Generated header will define preprocessor constant _HBMK_VCS_TYPE_ with the name of detected VCS and _HBMK_VCS_ID_ with the unique ID of local repository. If no VCS system is detected, a sequential number will be rolled automatically on each build." +msgstr "" + +#: hbmk2.prg:2004 +#, c-format +msgid "Error: %1$s not set, failed to autodetect.\nRun this tool from its original location inside the Harbour installation or set %1$s environment variable to Harbour's root directory." +msgstr "" + +#: hbmk2.prg:3070 +#, c-format +msgid "Warning: Ignoring explicitly specified core library directory: %1$s (in option %2$s)" +msgstr "" + +#: hbmk2.prg:3109 hbmk2.prg:3133 +#, c-format +msgid "Warning: Ignoring explicitly specified core header directory: %1$s (in option %2$s)" +msgstr "" + +#: hbmk2.prg:6656 +#, c-format +msgid "Warning: Resource compiler script could not be created, continuing in command-line." +msgstr "" + +#: hbmk2.prg:7466 +#, c-format +msgid "Warning: Code signing skipped, because no supported code signing tool could be found." +msgstr "" + +#: hbmk2.prg:6832 +#, c-format +msgid "Warning: C/C++ compiler script could not be created, continuing in command-line." +msgstr "" + +#: hbmk2.prg:7116 hbmk2.prg:7146 +#, c-format +msgid "Warning: Dynamic lib link script could not be created, continuing in command-line." +msgstr "" + +#: hbmk2.prg:12550 +#, c-format +msgid "Found OMF .lib with the same name, falling back to using it instead of the .dll." +msgstr "" + +#: hbmk2.prg:8034 +#, c-format +msgid "Error: Creating import libraries is not supported for this platform or compiler." +msgstr "" + +#: hbmk2.prg:10766 +#, c-format +msgid "Warning: Ignoring explicitly specified core library directory: %1$s (in directive %2$s)" +msgstr "" + +#: hbmk2.prg:10778 +#, c-format +msgid "Warning: Ignoring explicitly specified core header directory: %1$s (in directive %2$s)" +msgstr "" + +#: hbmk2.prg:12534 +#, c-format +msgid "Found COFF .lib with the same name, falling back to using it instead of the .dll." +msgstr "" + +#: hbmk2.prg:12565 +#, c-format +msgid "Found .def file with the same name, falling back to using it instead of the .dll." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "set C compiler warning level\n can be: max, yes, low, no, def (default: yes)" +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "create symbolic link pointing to ( is considered relative to )" +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "compress executable/dynamic lib (needs UPX tool)\n can be: yes, no, min, max" +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "pass single raw option to linker (executable) after the library list. Use with caution." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "create/update .po file from source. Merge it with previous .po file of the same name" +msgstr "" + +#: hbmk2.prg:16345 +#, c-format +msgid "You can use key in interactive Harbour shell to paste text from the clipboard." +msgstr "" + +#: hbmk2.prg:16057 +#, c-format +msgid "Harbour dynamic library directory" +msgstr "" + +#: hbmk2.prg:2147 +#, c-format +msgid "Autodetected platform: %1$s (adjusted)" +msgstr "" + +#: hbmk2.prg:15931 +#, c-format +msgid "mode %1$s (emulate Clipper compiler)" +msgstr "" + +#: hbmk2.prg:5945 +#, c-format +msgid "Harbour compiler command (embedded):" +msgstr "" + +#: hbmk2.prg:1689 +#, c-format +msgid "Processing environment options: %1$s" +msgstr "" + +#: hbmk2.prg:16057 +#, c-format +msgid "OS directory for temporary files" +msgstr "" + +#: hbmk2.prg:5985 hbmk2.prg:6031 +#, c-format +msgid "Error: Running Harbour compiler. %1$d" +msgstr "" + +#: hbmk2.prg:3441 +#, c-format +msgid "Warning: Unknown dependency name: %1$s" +msgstr "" + +#: hbmk2.prg:15931 hbmk2.prg:15931 hbmk2.prg:15931 +#, c-format +msgid "mode %1$s (emulate Clipper linker)" +msgstr "" + +#: hbmk2.prg:16057 +#, c-format +msgid "Harbour static library directory" +msgstr "" + +#: hbmk2.prg:2188 +#, c-format +msgid "Error: Compiler value unknown: %1$s" +msgstr "" + +#: hbmk2.prg:5826 +#, c-format +msgid "Triggered by #require directive: %1$s" +msgstr "" + +#: hbmk2.prg:2365 +#, c-format +msgid "Using C compiler: %1$s [%2$s...%3$s]" +msgstr "" + +#: hbmk2.prg:15931 +#, c-format +msgid "mode script runner / interactive shell" +msgstr "" + +#: hbmk2.prg:6632 hbmk2.prg:6674 +#, c-format +msgid "Error: Running resource compiler. %1$d" +msgstr "" + +#: hbmk2.prg:2411 +#, c-format +msgid "Processing local make script: %1$s" +msgstr "" + +#: hbmk2.prg:16057 +#, c-format +msgid "name of the output (without extension)" +msgstr "" + +#: hbmk2.prg:1989 +#, c-format +msgid "Error: Platform value unknown: %1$s" +msgstr "" + +#: hbmk2.prg:1683 +#, c-format +msgid "Building sub-project (level %1$d): %2$s" +msgstr "" + +#: hbmk2.prg:5828 +#, c-format +msgid "Triggered by '%1$s' header: %2$s" +msgstr "" + +#: hbmk2.prg:2909 +#, c-format +msgid "Warning: Invalid -gt value ignored: %1$s" +msgstr "" + +#: hbmk2.prg:2900 +#, c-format +msgid "Warning: Invalid -request= value ignored: %1$s" +msgstr "" + +#: hbmk2.prg:3700 +#, c-format +msgid "Warning: No source files were specified." +msgstr "" + +#: hbmk2.prg:2359 +#, c-format +msgid "Using Harbour: %1$s %2$s %3$s %4$s %5$s %6$s" +msgstr "" + +#: hbmk2.prg:2892 +#, c-format +msgid "Warning: Invalid -main= value ignored: %1$s" +msgstr "" + +#: hbmk2.prg:5943 +#, c-format +msgid "Harbour compiler command (embedded) job #%1$d:" +msgstr "" + +#: hbmk2.prg:5983 +#, c-format +msgid "Error: Running Harbour compiler job #%1$d. %2$d" +msgstr "" + +#: hbmk2.prg:6880 hbmk2.prg:8216 +#, c-format +msgid "Error: Running C/C++ compiler job #%1$d. %2$d" +msgstr "" + +#: hbmk2.prg:6979 +#, c-format +msgid "Warning: Cannot delete existing target '%1$s'." +msgstr "" + +#: hbmk2.prg:7164 +#, c-format +msgid "Error: Running dynamic lib link command. %1$d" +msgstr "" + +#: hbmk2.prg:7374 +#, c-format +msgid "Warning: Running post processor command. %1$d:" +msgstr "" + +#: hbmk2.prg:7444 +#, c-format +msgid "Warning: Running compression command. %1$d:" +msgstr "" + +#: hbmk2.prg:7618 +#, c-format +msgid "Warning: Ignored invalid option value in: %1$s" +msgstr "" + +#: hbmk2.prg:7498 +#, c-format +msgid "Warning: Running code sign command. %1$d:" +msgstr "" + +#: hbmk2.prg:8030 +#, c-format +msgid "Warning: No import library source was specified" +msgstr "" + +#: hbmk2.prg:8019 +#, c-format +msgid "Warning: No import library sources were found." +msgstr "" + +#: hbmk2.prg:8105 +#, c-format +msgid "Warning: Copying %1$s to %2$s failed with %3$d." +msgstr "" + +#: hbmk2.prg:15829 +#, c-format +msgid "link with multi/single-thread Harbour VM" +msgstr "" + +#: hbmk2.prg:1821 +#, c-format +msgid "Autodetected platform: %1$s" +msgstr "" + +#: hbmk2.prg:1677 +#, c-format +msgid "Error: Cannot nest projects deeper than %1$d levels" +msgstr "" + +#: hbmk2.prg:2449 hbmk2.prg:11359 +#, c-format +msgid "Found project reference on library search path: %1$s" +msgstr "" + +#: hbmk2.prg:3022 +#, c-format +msgid "Warning: Ignored unsupported codepage value: %1$s" +msgstr "" + +#: hbmk2.prg:3514 hbmk2.prg:10660 hbmk2.prg:10713 hbmk2.prg:10751 +#, c-format +msgid "Warning: Cannot find %1$s (referenced from %2$s)" +msgstr "" + +#: hbmk2.prg:3736 +#, c-format +msgid "Error: Working directory cannot be created: %1$s" +msgstr "" + +#: hbmk2.prg:5958 +#, c-format +msgid "Error: Running Harbour compiler (embedded). %1$d" +msgstr "" + +#: hbmk2.prg:6233 +#, c-format +msgid "Warning: Stub helper .c program could not be created." +msgstr "" + +#: hbmk2.prg:6342 +#, c-format +msgid "Warning: Stub helper .cpp program could not be created." +msgstr "" + +#: hbmk2.prg:6583 +#, c-format +msgid "Warning: Stub helper .rc file could not be created." +msgstr "" + +#: hbmk2.prg:6967 +#, c-format +msgid "Warning: Cannot create directory for target '%1$s'." +msgstr "" + +#: hbmk2.prg:7961 +#, c-format +msgid "Error: Failed creating symbolic link %1$s to %2$s" +msgstr "" + +#: hbmk2.prg:8007 +#, c-format +msgid "Error: Failed creating import library %1$s from %2$s." +msgstr "" + +#: hbmk2.prg:9778 +#, c-format +msgid "Error: Executing plugin: %1$s at %3$s(%4$d)\n'%2$s'" +msgstr "" + +#: hbmk2.prg:12237 +#, c-format +msgid "Error: Cannot create temporary unified .po file." +msgstr "" + +#: hbmk2.prg:13236 +#, c-format +msgid "Hint: Add option '%1$s' for missing function(s): %2$s" +msgstr "" + +#: hbmk2.prg:14129 +#, c-format +msgid "Cannot load '%1$s'. Requires -shared %2$s build." +msgstr "" + +#: hbmk2.prg:15657 +#, c-format +msgid "failed in final assembly (linker or library manager)" +msgstr "" + +#: hbmk2.prg:15681 +#, c-format +msgid " %1$s |