Commit Graph

84 Commits

Author SHA1 Message Date
Viktor Szakats
c8192af65c updated localization, manuals regenerated (semi-automatic) 2013-04-01 00:21:44 +02:00
Viktor Szakats
3b20d12114 2013-04-01 00:17 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + will now use UTF-8 when the stdout is redirected to file
      (caveat: will also use UTF-8 when using Windows tools
      like 'more' do not understand UTF-8)
    + will now use UTF-8 when using -viewhelp to open the help in viewer

  * README.md
    * minor clarification to formatting cmd templates

  * .gitattributes
    + some lines for future testing
2013-04-01 00:20:58 +02:00
Viktor Szakats
671c61b6de updated localization, manuals regenerated (semi-automatic) 2013-03-31 22:56:57 +02:00
Viktor Szakats
4f1db3a0b0 2013-03-31 22:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/harbour.hbx
  * src/rtl/hbi18n2.prg
    + added __i18n_potArraySort( aTrans ) -> aTrans
      to sort .pot files to a predictable order (of first
      occurrence in file). It helps reducing unnecessarily
      large and unusable diffs when updating .pots and their
      related .po files

  * utils/hbmk2/hbmk2.prg
    * marked some string previously (and intentionally) marked
      as non-translatable, as translatable. One exception less.

  * utils/hbmk2/_po_push.hb
    + sort .pot before saving and pushing to localization service
2013-03-31 22:55:32 +02:00
Viktor Szakats
0fe9afaf16 updated localization, manuals regenerated (semi-automatic) 2013-03-31 22:55:00 +02:00
Viktor Szakats
b550ee9c1a 2013-03-31 21:52 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + clarified 'target' in several help items
    + added 'to stdout' to clarifiy some help items
    + use 'platform/C compiler' except 'toolchain'
2013-03-31 21:53:44 +02:00
Viktor Szakats
e562f8de95 updated localization, manuals regenerated (semi-automatic) 2013-03-31 21:51:51 +02:00
Viktor Szakats
aaa6a84532 2013-03-31 21:22 UTC+0200 Viktor Szakats (harbour syenar.net)
* .gitignore
    * deleted .def file as they are now covered by bin/*/ and
      otherwise .def files do exist in source repo

  * contrib/rddads/doc/en/adsfuncs.txt
  * doc/en/string.txt
    * cleanups

  * utils/hbmk2/hbmk2.prg
    * cleaned function skeletons in help

  * extras/hbdoc/hbdoc.prg
    + include unknown COMPLIANCE value as in is doc instead of an error msg

  * src/compiler/compi18n.c
    * uncrustified, tweak formatting manually
    % optimized variable scopes

  * src/rtl/hbi18n2.prg
    * minor formatting
2013-03-31 21:25:16 +02:00
Viktor Szakats
fce9739764 2013-03-31 20:13 UTC+0200 Viktor Szakats (harbour syenar.net)
- utils/hbmk2/po/hbmk2.hu!.po
    - deleted accidentally added file

  * utils/hbmk2/_md_make.hb
  * utils/hbmk2/_po_pull.hb
    * minor tweaks

  * utils/hbmk2/po/hbmk2.hu.po
    + added two translations for testing automatic .po translation upload
2013-03-31 20:15:20 +02:00
Viktor Szakats
ee4174c835 updated localization, manuals regenerated (semi-automatic) 2013-03-31 19:35:04 +02:00
Viktor Szakats
3e3a5a7ff7 generalizing further 2013-03-31 16:34:28 +02:00
Viktor Szakats
ab064dee76 2013-03-31 15:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_md_make.hb
  * utils/hbmk2/_po_pull.hb
  * utils/hbmk2/_po_push.hb
    + internals almost fully generalized
    + convert Transifex newline symbol to real newline

  * utils/hbmk2/hbmk2.prg
    + AllTrim() some translated text to avoid bad Markdown result
      when translated text contains left/right padding.
      TODO: double spaces in translated text and extend above
            to all strings, and move the whole post-processing/fixing
            to the po pull stage. Would be nice to have a core i18n
            function to be able to apply transformations via codeblock
            to translated text.
2013-03-31 15:20:37 +02:00
Viktor Szakats
626b68ad19 updated localization, manuals regenerated (semi-automatic) 2013-03-31 15:14:31 +02:00
Viktor Szakats
31a14aff61 updated localization, manuals regenerated (semi-automatic) 2013-03-31 15:10:45 +02:00
Viktor Szakats
202cfa79dd updated localization, manuals regenerated (semi-automatic) 2013-03-31 14:45:59 +02:00
Viktor Szakats
60a1267095 2013-03-31 04:46 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_md_make.hb
  * utils/hbmk2/_po_pull.hb
  * utils/hbmk2/_po_push.hb
    % much faster .md generation
    + internals modified to ease moving the scripts to other dir
    + better feedback

  * utils/hbmk2/hbmk2.prg
    * formatting and minor
2013-03-31 05:17:46 +02:00
Viktor Szakats
7165aad70a updated localization, manuals regenerated (semi-automatic) 2013-03-31 04:47:37 +02:00
Viktor Szakats
dd78b1a7b0 updated localization, manuals regenerated (semi-automatic) 2013-03-30 18:53:26 +01:00
Viktor Szakats
88df0f9ab4 updated localization, manuals regenerated (semi-automatic) 2013-03-30 16:45:20 +01:00
Viktor Szakats
bc24dba6be <lev> -> <level> in help for better clarity 2013-03-30 16:44:09 +01:00
Viktor Szakats
e9e69238ad updated localization, manuals regenerated (semi-automatic) 2013-03-30 14:57:28 +01:00
Viktor Szakats
3ac2e51a90 two missing hb_ prefixes in help 2013-03-30 14:56:15 +01:00
Viktor Szakats
972c11c9f6 updated localization, manuals regenerated (semi-automatic) 2013-03-30 13:19:18 +01:00
Viktor Szakats
195247b4f4 fixed two base strings to not require translators to preserve whitespace padding 2013-03-30 12:09:34 +01:00
Viktor Szakats
0549b31140 2013-03-30 12:06 UTC+0100 Viktor Szakats (harbour syenar.net)
* .gitattributes
    + added .yml
  * utils/hbmk2/_md_make.hb
    ! fixed to include base language
  * utils/hbmk2/_po_push.hb
    ! fixed one cwd dependence
  * utils/hbmk2/hbmk2.hbp
    * fmt
2013-03-30 12:07:27 +01:00
Viktor Szakats
ab247e7d3f updated localization, manuals regenerated (semi-automatic) 2013-03-30 12:03:07 +01:00
Viktor Szakats
40d26b2bc8 updated localization, manuals regenerated (semi-automatic) 2013-03-30 11:59:48 +01:00
Viktor Szakats
a2471a92c0 messing around with EOL types 2013-03-30 04:24:56 +01:00
Viktor Szakats
b8a826c423 updated localization, manuals regenerated (semi-automatic) 2013-03-30 04:22:47 +01:00
Viktor Szakats
dea79cf720 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 04:21:23 +01:00
Viktor Szakats
316d6ab161 2013-03-30 03:52 UTC+0100 Viktor Szakats (harbour syenar.net)
+ utils/hbmk2/_po_push.hb
    + added script to upload English source .po file

  * utils/hbmk2/_po_pull.hb
    * minors

  * utils/hbmk2/_po_dl.hb -> utils/hbmk2/_po_pull.hb
  * utils/hbmk2/_md_gen.hb -> utils/hbmk2/_md_make.hb
    * renamed (slipped in a prev commit by mistake)
2013-03-30 03:54:55 +01:00
Viktor Szakats
70a81818e9 updated localization, manuals regenerated (semi-automatic) 2013-03-30 02:44:41 +01:00
Viktor Szakats
b04d150d70 translations updated, manuals regenerated (semi-automatic) 2013-03-30 02:31:50 +01:00
Viktor Szakats
21ba973f78 2013-03-30 02:03 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.md
    * moved Travis build status to top
    + linked to two users' list posts on unstable builds
    % deleted old envvars recommended for deletion (they don't
      appear anymore in user reports)

  * utils/hbmk2/_po_dl.hb
    + allow login information to be supplied via envvar
    ! minor cleanup
2013-03-30 02:06:08 +01:00
Viktor Szakats
8ff31e591b translations updated, manuals regenerated (semi-automatic) 2013-03-30 01:44:21 +01:00
Viktor Szakats
2e352e0e24 translations updated, manuals regenerated (semi-automatic) 2013-03-30 01:08:54 +01:00
Viktor Szakats
776d26eb9e fixed another cwd dependence 2013-03-30 01:06:30 +01:00
Viktor Szakats
67e5c6825e made them work regardless of cwd (some changes slipped into prev automatic commit, sorry) 2013-03-30 01:01:18 +01:00
Viktor Szakats
8054a4dc38 translations updated, manuals regenerated (semi-automatic) 2013-03-30 00:59:23 +01:00
Viktor Szakats
e4a149175a translations updated, manuals regenerated (semi-automatic) 2013-03-30 00:33:07 +01:00
Viktor Szakats
30d6468c03 fixed to work in its final location 2013-03-30 00:30:11 +01:00
Viktor Szakats
3851b7d40b 2013-03-29 23:25 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/cdpdet.prg
  * src/rtl/langcomp.prg
  * utils/hbmk2/_md_gen.hb
    + added support for Spanish (Latin American) (es_419) dialect

  * utils/hbmk2/hbmk2.hbp
    + added es_419, synced with Transifex language codes

  + utils/hbmk2/_po_dl.hb
    + added automatic script that refreshes repo translations
      with Transifex translation data

  * utils/hbmk2/po/hbmk2.el.po
  * utils/hbmk2/po/hbmk2.hu.po
  * utils/hbmk2/po/hbmk2.it.po
  + utils/hbmk2/po/hbmk2.es_419.po
  + utils/hbmk2/po/hbmk2.fr_FR.po
  * utils/hbmk2/po/hbmk2.es.po -> utils/hbmk2/po/hbmk2.es_ES.po
    * synced language codes
    + updated from Transifex using new script _po_dl.hb

  * contrib/hbrun/doc/hbrun.hu.md
  * contrib/hbrun/doc/hbrun.it.md
  + contrib/hbrun/doc/hbrun.es_419.md
  * contrib/hbrun/doc/hbrun.fr.md -> contrib/hbrun/doc/hbrun.fr_FR.md
  * contrib/hbrun/doc/hbrun.es.md -> contrib/hbrun/doc/hbrun.es_ES.md
    * synced language codes
    + regerenated using _md_gen.hb

  * utils/hbmk2/doc/hbmk2.el.md
  * utils/hbmk2/doc/hbmk2.hu.md
  * utils/hbmk2/doc/hbmk2.it.md
  + utils/hbmk2/doc/hbmk2.es_419.md
  * utils/hbmk2/doc/hbmk2.fr.md -> utils/hbmk2/doc/hbmk2.fr_FR.md
  * utils/hbmk2/doc/hbmk2.es.md -> utils/hbmk2/doc/hbmk2.es_ES.md
    * synced language codes
    + regerenated using _md_gen.hb
2013-03-29 23:28:16 +01:00
Viktor Szakats
7401e61b59 2013-03-29 21:36 UTC+0100 Viktor Szakats (harbour syenar.net)
+ utils/hbmk2/_md_gen.hb
    + added script to generate .md helps

  + contrib/hbrun/doc/_GENERATED_
  + contrib/hbrun/doc/hbrun.el.md
  + contrib/hbrun/doc/hbrun.es.md
  + contrib/hbrun/doc/hbrun.fr.md
  + contrib/hbrun/doc/hbrun.hu.md
  + contrib/hbrun/doc/hbrun.it.md
  + contrib/hbrun/doc/hbrun.pt_BR.md
  + utils/hbmk2/doc/_GENERATED_
  + utils/hbmk2/doc/hbmk2.el.md
  + utils/hbmk2/doc/hbmk2.es.md
  + utils/hbmk2/doc/hbmk2.fr.md
  + utils/hbmk2/doc/hbmk2.hu.md
  + utils/hbmk2/doc/hbmk2.it.md
  + utils/hbmk2/doc/hbmk2.pt_BR.md
  * contrib/hbrun/hbrun.md -> contrib/hbrun/doc/hbrun.en.md
  * utils/hbmk2/hbmk2.md -> utils/hbmk2/doc/hbmk2.en.md
    + added hbmk2 and hbrun helps in all available languages
    + added French files (by Alain Aupeix)

  * README.md
    * updated hbmk2 and hbrun online doc links
2013-03-29 21:36:55 +01:00
Viktor Szakats
e485eed41a be more predictable when falling back to other dialects found on disk 2013-03-29 20:07:46 +01:00
Viktor Szakats
1b6b2ba911 2013-03-29 19:31 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + better match algrorithm for finding .hbl translation modules
      f.e. "es_AR" will fall back to "es", than fall back to
      whichever dialect is present. "es" will also be matched
      to "es_*" when "es" not present.
    ! now able to load languages Harbour doesn't even know about

  * utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/po/hbmk2.el_GR.po -> utils/hbmk2/po/hbmk2.el.po
  * utils/hbmk2/po/hbmk2.es_PE.po -> utils/hbmk2/po/hbmk2.es.po
  * utils/hbmk2/po/hbmk2.hu_HU.po -> utils/hbmk2/po/hbmk2.hu.po
  * utils/hbmk2/po/hbmk2.it_IT.po -> utils/hbmk2/po/hbmk2.it.po
    % renamed to use short language code for languages
      that are unlikely to have multiple dialects implemented.
      We can branch out new dialects anytime as needed.
      (I'm still pending on Spanish. Please answer on the
      forum whether to have separate es_PE, es_AR and else.)
2013-03-29 19:32:41 +01:00
Viktor Szakats
69b251df6d tuning language IDs 2013-03-29 18:18:06 +01:00
Viktor Szakats
d49d096b53 fixed lost trailing spaces in .md 2013-03-29 16:37:58 +01:00
Viktor Szakats
c21235193e updated translation (by Pete_wg and SAMI LAHAM) 2013-03-29 16:34:16 +01:00
Viktor Szakats
ce8414897f 2013-03-29 16:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/rtl/langcomp.prg
    ! fixed hb_langSelect() to accept ISO language codes
      using '_' as separator

  * utils/hbmk2/po/hbmk2.el_GR.po
    * updated
2013-03-29 16:23:39 +01:00
Viktor Szakats
8ad4aec977 moved translation files under subdir 2013-03-29 14:20:58 +01:00