Commit Graph

149 Commits

Author SHA1 Message Date
Viktor Szakats
35300e401d minor doc/comment/test cleanups 2013-03-31 21:35:57 +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
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
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
bc24dba6be <lev> -> <level> in help for better clarity 2013-03-30 16:44:09 +01:00
Viktor Szakats
3ac2e51a90 two missing hb_ prefixes in help 2013-03-30 14:56:15 +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
a2471a92c0 messing around with EOL types 2013-03-30 04:24:56 +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
a827aba539 terminology (translation -> localization) 2013-03-30 02:48:23 +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
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
231573bcfb added status chart and link about ui translation to README 2013-03-30 00:44:06 +01:00
Viktor Szakats
e4a149175a translations updated, manuals regenerated (semi-automatic) 2013-03-30 00:33:07 +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
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
7c6cb8b4c6 fixed to use HB_BOOL instead of BOOL, formatting (.t. -> .T.) 2013-03-29 14:39:09 +01:00
Viktor Szakats
8ad4aec977 moved translation files under subdir 2013-03-29 14:20:58 +01:00
Viktor Szakats
802085e5f5 added translation homepage to Harbour Links 2013-03-29 12:51:18 +01:00
Viktor Szakats
dc809a0b49 fixed encoding messed up by a Far Manager plugin which gets it wrong while trimming line ending whitespace 2013-03-29 12:45:55 +01:00
Viktor Szakats
7b67949355 Merge branch 'master' of https://github.com/harbour/core
Conflicts:
	ChangeLog.txt
2013-03-29 12:40:59 +01:00
Viktor Szakats
a105cd68dd 2013-03-29 12:34 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.hbp
  * utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
  + utils/hbmk2/hbmk2.el_GR.po
  + utils/hbmk2/hbmk2.it_IT.po
    * updated translations from
         https://www.transifex.com/projects/p/harbour/resource/hbmk2/
    + added two new languages from above team translation project
2013-03-29 12:39:50 +01:00
Pritpal Bedi
6081dbb7a0 Deleted: $id:$ headers which were restored in prev commit by mistake. 2013-03-28 15:22:25 -07:00
Pritpal Bedi
5cea229ecb GTWVG + Wvt_DrawImage( ,,,,,, lDoNotScale ) 2013-03-28 12:13:49 -07:00
Viktor Szakats
174db6407a added language header tag 2013-03-28 18:06:10 +01:00
Viktor Szakats
e211f455f5 added two .po links 2013-03-28 18:00:15 +01:00
Viktor Szakats
5550d76d7e 2013-03-28 17:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed to detect and find contrib/addons root in
      non-system location on *nix systems

  * ChangeLog.txt
    * update to 2013-03-27 16:29 UTC+0100
2013-03-28 17:52:06 +01:00
Viktor Szakats
63f6af816a added base language .po file 2013-03-28 17:34:50 +01:00
Viktor Szakats
0a066e1016 added last copyright holder to as 'Last-Translator' 2013-03-28 16:19:12 +01:00
Viktor Szakats
02bf5463a4 one more cleanup 2013-03-28 16:17:50 +01:00
Viktor Szakats
65569184aa 2013-03-28 16:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/lang/l_he.c
  * src/lang/l_hr.c
  * src/lang/l_is.c
  * src/lang/l_pt.c
  * src/lang/l_sk.c
  * src/lang/l_zh_sim.c
  * src/lang/l_zh_tra.c
    * further cleanup

  + src/lang/*.po
    + added .po files converted from language modules using
      tests/lang2po.hb script
2013-03-28 16:10:26 +01:00
Viktor Szakats
f7e766d38c 2013-03-28 16:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* src/lang/l_cs.c
  * src/lang/l_de.c
  * src/lang/l_he.c
  * src/lang/l_hr.c
  * src/lang/l_is.c
  * src/lang/l_pt.c
  * src/lang/l_sk.c
    * cleaned copyright holder lists

  * tests/lang2po.hb
    % convert same as original translations to empty strings
2013-03-28 16:03:46 +01:00
Viktor Szakats
3b35de952a use :__enumIsLast() 2013-03-28 15:54:21 +01:00
Viktor Szakats
e77ba4f9eb to prev entry: fixed after validating them using 'msgfmt <.po> -c' 2013-03-28 15:30:19 +01:00
Viktor Szakats
11e046e204 2013-03-28 14:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.es_PE.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.pt_BR.po
    ! added standard .po meta headers (manually for now)

  * include/hbexpra.c
  * src/compiler/harbour.y
  * src/compiler/harbour.yyc
  * src/vm/classes.c
  * tests/foreach.prg
    + added :__enumIsLast() enum method. It returns .T. for
      last relement, .F. else. It's useful to replace conditions
      like: 'item:__enumIndex() < Len( item:__enumBase() )'

  * tests/lang2po.hb
    + added standard .po meta header
    ; use __enumIsLast()

  * contrib/hbnetio/utils/hbnetio/_console.prg
    ! fixed wrongly initialized management plugin
      (missed to update it when adapted the plugin
      for hbrun last year)

  * contrib/hbnetio/utils/hbnetio/netiomgm.hb
    ! fixed to show proper error instead of RTE, if RPC calls
      fail to return expect values

  * contrib/hbnetio/utils/hbnetio/hbnetio.prg
    * formatting
2013-03-28 15:00:09 +01:00
Viktor Szakats
521c17412a fixed excluding obj subdirs 2013-03-28 03:24:56 +01:00
Viktor Szakats
ee3d2741d3 2013-03-28 03:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.md
    * reverted to use ndashes

  * utils/hbmk2/hbmk2.prg
    % most option references changed to string variables,
      optimizing translatable strings and made them less
      dependent on changes in option names
    ! one typo in help

  * utils/hbmk2/*.po
    + regenerated. orphan translations deleted.

  * contrib/hbrun/hbrun.md
  * utils/hbmk2/hbmk2.md
    + regenerated
2013-03-28 03:22:57 +01:00
Viktor Szakats
f2a66b5e63 fixed bad links 2013-03-27 16:52:10 +01:00
Viktor Szakats
7ad75f9543 2013-03-27 16:29 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    ! fixed to suppress remaining remaining double outputs at
      startup in hbrun mode, when processing .hbc files

  * contrib/hbexpat/hbexpat.hbc
    ! added usage time detection of locally hosted 3rd party
      dependency to avoid warnings when the locally hosted
      dependency is not present (f.e. because the system
      hosted copy was used at build/install time)
      Experimental. If it works fine, should be applied to
      other similar contribs:
         hbbz2, hbhpdf, hblzf, hbmlzo, hbmxml, hbmzip, hbsqlit3, hbtinymt, hbxdiff, sddsqlt3

  * README.md
    * typographic and misc improvements

  * config/global.mk
    + detect qnx cross-compile tool (via Francesco Perillo)

  * include/hbsetup.h
  * src/common/hbtrace.c
    + added macro HB_OS_QNX_BB10 for BlackBerry 10 subplatform
    + guard some stuff that's not present in BB10 (via Francesco Perillo)

  * contrib/hbtinymt/3rd/tinymt/tinymt.hbc
    ! deleted $Id$
2013-03-27 16:31:11 +01:00
Viktor Szakats
2400974a60 2013-03-27 03:54 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
    + changed the way script debugging is invoked, now
      instead of little awkward HBSHELL_DEBUG envvar,
      it's as simple as adding '--hb:debug' option to the
      cmdline.
    ! fixed RTE after recent patch

  * README.md
    + typographic refinements
    + added script debugging example
    + added link to BOM article

  * .gitignore
    ! fixed to not match config/<platform>

  + config/qnx/gccarm.mk
    + added qnx/gccarm (with BB in mind)

  * package/winuni/RELNOTES.txt
    ! updated README section reference

  * COPYING.txt
    * minor

  * tests/hello.prg
    + std text
2013-03-27 05:31:49 +01:00