Commit Graph

18786 Commits

Author SHA1 Message Date
Viktor Szakats
764ef1bed4 updated localization, manuals regenerated (semi-automatic) 2013-04-03 16:03:16 +02:00
Viktor Szakats
db9b948154 2013-04-03 13:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fixed BOM detection and fixup

  * contrib/gtwvg/pushbut.prg
    % use HB_ISSTRING() instead of ValType() call

  * ChangeLog.txt
    ! deleted BOM for the 4th time after:
        2013-04-03 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
2013-04-03 13:54:21 +02:00
Viktor Szakats
a0e2631672 added two translation notes in sync with Transifex UI 2013-04-03 13:48:29 +02:00
Viktor Szakats
21431980f1 applied autocorrections for core-lang, autoupdated with Transifex translations. 2013-04-03 13:22:29 +02:00
Viktor Szakats
a98f804220 comment 2013-04-03 13:14:21 +02:00
Viktor Szakats
0d597558db 2013-04-03 13:12 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + implemented translation corrections for right-to-left
      languages
    + enabled translation corrections for core-lang modules
2013-04-03 13:13:33 +02:00
Viktor Szakats
26f328e4e2 2013-04-03 12:13 UTC+0200 Viktor Szakats (harbour syenar.net)
- src/lang/a/*.c
  - src/lang/l_en.c
    - deleted mistakenly autocommitted files

  * config/lang.hb
    ! exclude base lang from automatically formed list of core languages

  * src/rtl/hbi18n2.prg
    * minor code clarification (but worse performance)
2013-04-03 12:14:45 +02:00
Viktor Szakats
c4866141fa updated localization, manuals regenerated (semi-automatic) 2013-04-03 12:12:30 +02:00
Viktor Szakats
0c6e68d4a3 updated localization, manuals regenerated (semi-automatic) 2013-04-03 12:03:44 +02:00
Pritpal Bedi
6f4a99fdf1 2013-04-03 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgparts.ch
    + Added: constants - WVG_IMAGE_ICONFILE
                         WVG_IMAGE_ICONRESOURCE
                         WVG_IMAGE_BITMAPFILE
                         WVG_IMAGE_BITMAPRESOURCE

  * contrib/gtwvg/pushbut.prg
    + Implemented: Display of Bitmaps or Icons on the pushbuttons
       from resources also. Before, it was available from disk files
       only. For this to happen a push button be created like this:

       WITH OBJECT oXbp := WvgPushButton():new()
          :pointerFocus := .F.
          :caption := { "Vouch", WVG_IMAGE_ICONFILE, IMAGE_VR }
          :border  := .F.
          :create( , , { {|| -( MaxRow() - 1 ) }, -31 }, { -2, -4 } )
          :activate := {|| hb_threadStart( {|| demoXbp() } ) }
          :toolTipText := "Flat Button . Lines: press ESC when finished."
       ENDWITH

       :caption := { [<cButtonText>], <nImageType>, <xImage> }
                =>
                   { "Vouch", WVG_IMAGE_ICONFILE, hb_dirBase() + "vr1.ico" }
                   { "Vouch", WVG_IMAGE_ICONRESOURCE, 212 /*Numeric ID in resource*/ }
                   { "Vouch", WVG_IMAGE_ICONRESOURCE, "VOUCHICO" /*Character ID in resource*/ }

       IMPORTANT - :caption has to be defined before :create() is called.

  * contrib/gtwvg/tests/demowvg.prg
    + Added: code to demonstrate above usage.
2013-04-03 01:01:20 -07:00
Viktor Szakats
764f140a97 2013-04-03 05:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/po2lang.hb
    * hide e-mail in lang .c files

  * src/lang/*.c
    * updated/regenerated automatically
2013-04-03 05:49:07 +02:00
Viktor Szakats
de93214c1f 2013-04-03 04:08 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang2po.hb
  * tests/langchk.hb
    ! fixed filter to allow pt_br and other non-legacy lang ids
      to pass

  * src/lang/l_en_tpl.c
    % deleted outdated information

  * src/lang/l_pt_br.c
    * updated automatically
2013-04-03 04:08:55 +02:00
Viktor Szakats
4dd894382a TODOs updated 2013-04-03 03:47:13 +02:00
Viktor Szakats
99d487cb27 2013-04-03 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    * option rename

  * config/lang2po.hb
    ! typo

  * src/lang/l_pt_br.c
    ! typos

  * src/lang/l_pt.c
    * updated from Transifex
2013-04-03 03:34:36 +02:00
Viktor Szakats
f9d38b5ef5 2013-04-03 03:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    ! fix to filename filter (needs large cleanup)

  * config/lang.hb
  * include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  + src/lang/l_pt_br.c
    + added 'pt_br' language
2013-04-03 03:16:49 +02:00
Viktor Szakats
2e18ae8387 2013-04-03 03:02 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + enabled pulling all translation for core-lang

  * src/lang/l_es_419.c
    ! fixed lang ID

  * src/lang/l_*.c
    * rebuilt automatically from translations pulled from Transifex

  * config/lang2po.hb
    + added further clarification to one of the translations, in
      sync with Transifex comment. (comments cannot be pushed/pulled via .po)

  * bin/check.hb
    * minor
2013-04-03 03:04:01 +02:00
Viktor Szakats
942cfa22da 2013-04-03 01:48 UTC+0200 Viktor Szakats (harbour syenar.net)
* tests/lang2po.hb -> config/lang2po.hb
  * tests/po2lang.hb -> config/po2lang.hb
    * moved to their final location

  * config/lang.hb
    + implemented automatic processed for core lang modules
      (component name 'core-lang'). The script will automatically
      convert to/from .c language modules and .po files for
      Transifex.

  * src/lang/l_hu.c
    + updated using above script
2013-04-03 01:50:11 +02:00
Viktor Szakats
ef37d79a27 added details to code adapted from foreign work 2013-04-03 01:37:56 +02:00
Viktor Szakats
02a194071d typo in comment 2013-04-03 01:15:10 +02:00
Viktor Szakats
ae2163cbab updated localization, manuals regenerated (semi-automatic) 2013-04-03 00:23:27 +02:00
Viktor Szakats
9493097ab2 2013-04-03 00:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* include/hblang.hbx
  * src/lang/Makefile
  * src/rtl/langcomp.prg
  + src/lang/l_es_419.c
    + added 'es_419' - Spanish (Latin America) to Harbour
      core languages
    ! fixed typo in language mapping of 'sr-sp-cyrl' to 'sr_cyr'
    + accept 'zh' for Chinese (Traditional)
2013-04-03 00:22:33 +02:00
Viktor Szakats
040cb6b165 final touches after uploading most core lang modules 2013-04-02 23:44:39 +02:00
Viktor Szakats
9b2e261eb1 2013-04-02 22:29 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/l_hu.c
    + translated one missing item

  * tests/lang2po.hb
    * minor tweak
2013-04-02 22:30:28 +02:00
Viktor Szakats
0582727a49 .po files will be intermediate format and not required in repo 2013-04-02 22:18:17 +02:00
Viktor Szakats
c0d88c42dc 2013-04-02 22:09 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
    + added file fixup feature (not yet activated)
    + refined detection of some problems

  * src/lang/l_de.c
  * src/lang/l_hu.c
  * src/lang/l_nl.c
  * src/lang/l_pl.c
    ! manual whitepsace/punctuation corrections

  * src/lang/l_el.c
    + manually applied translation from Transifex by Pete_wg
    * some manual whitepsace/punctuation corrections

  * src/rtl/langapi.c
    - deleted reference of unused and not needed RFC ID in language modules
    ; TODO: delete it from the language module string list

  * src/rtl/tgetlist.prg
    + handle the translation error where _GET_INSERT_OFF and _GET_INSERT_ON
      length doesn't match. Draw spaces instead of _GET_INSERT_OFF in that case

  * tests/lang2po.hb
  * tests/po2lang.hb
    + finalized two way .po <-> l_*.c file conversion
      (copyrights and RFC ID will be lost)
2013-04-02 22:14:28 +02:00
Viktor Szakats
4d4fceb53f updated localization, manuals regenerated (semi-automatic) 2013-04-02 18:28:12 +02:00
Viktor Szakats
b76bdb7f7d deleted BOM again 2013-04-02 17:56:19 +02:00
Viktor Szakats
b9d69aa3f5 2013-04-02 17:49 UTC+0200 Viktor Szakats (harbour syenar.net)
+ bin/check.hb
    + new source verifier. Able to all documented (and more)
      required text file and filename properties.

  * bin/commit.hb
    + added feature to verify all files to be committed to
      conform with certain naming and text file content rules
    + added some more feedback

  * config/postinst.hb
    + include commit.hb and check.hb in 'install'

  * include/extend.h
  * contrib/hbcairo/paths.c
  * contrib/hbcairo/png.c
  * contrib/hbcairo/util.c
  * contrib/hbtpathy/readme.txt
  * tests/harbour.ini
  * tests/parseins.ini
    ! multiple EOL at EOF

  * contrib/hbhpdf/tests/files/cp932.txt
  * contrib/hbhpdf/tests/files/cp936.txt
  * contrib/hbhpdf/tests/files/elic_jp.txt
    ! line ending spaces
    ! missing EOL at EOF

  * contrib/hbhttpd/tests/tpl/app/account/edit.tpl
  * contrib/hbhttpd/tests/tpl/app/login.tpl
  * contrib/hbhttpd/tests/tpl/app/logout.tpl
  * contrib/hbhttpd/tests/tpl/app/main.tpl
  * contrib/hbhttpd/tests/tpl/app/register.tpl
  * lib/3rd/win/bcc/unicows_license.txt
  * lib/3rd/win/mingw/libunicows_license.txt
    ! missing EOL at EOF

  * COPYING.txt
  * src/rtl/gtcrs/hb-charmap.def
  * tests/big5_gen.prg
    ! tabs

  * extras/gfspell/spell.prg
  * src/rtl/gtwin/gtwin.c
    ! ASCII 127

  * src/codepage/cp_tpl.c
    ! converted to UTF-8 (just guessing what the original CP was)

  * src/pp/hbpp.c
    ! do not generate SVN header in hbverbld.h
    + avoid SVN header string in source as is to miss matched
      in source verifier

  * src/vm/extrap.c
    ! do not generate whitespace at EOL in output

  * tests/lang2po.hb
  * tests/po2lang.hb
    + minor improvements
    ! fixed to generate consistent EOL

  * bin/3rdpatch.hb
    * newline at top deleted

  * extras/hbdoc/hbdoc.hbp
  * extras/hbdoc/hbdoc.prg
  * extras/hbdoc/_tmplates.prg -> extras/hbdoc/_tmplate.prg
  * contrib/hbcairo/tests/lightning.prg -> contrib/hbcairo/tests/lightnin.prg
    ! long filename

  * .gitattributes
  * extras/guestbk/guestbk.prg
  * extras/guestbk/guestbk.txt
  * extras/guestbk/guestbk.htm -> extras/guestbk/guestbk.html
    * deleted .htm file, now all HTML has extension .html
    * .exe references in doc made OS neutral
    ; Can only be used on non-MS-DOS systems, so it's okay
2013-04-02 17:50:36 +02:00
Viktor Szakats
77594dd2d6 include project name in screen output 2013-04-02 02:58:06 +02:00
Viktor Szakats
68223b2916 updated localization, manuals regenerated (semi-automatic) 2013-04-02 02:53:33 +02:00
Viktor Szakats
783f45656d 2013-04-02 02:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    ! __i18n_potArrayClean() to evaluate transformation
      codeblock in normal order (was reverse)

  * tests/lang2po.hb
    + made all necessary modification to allow two-way conversion

  + tests/po2lang.hb
    + added script that converts a core .po back to a lang module

  * src/rtl/strc.c
    * casing in comments

  * config/lang.hb
    + added std script options
2013-04-02 02:51:04 +02:00
Viktor Szakats
f29b373946 2013-04-02 00:06 UTC+0200 Viktor Szakats (harbour syenar.net)
- contrib/hbrun/doc/hbrun.md
  - utils/hbmk2/doc/hbmk2.md
    - deleted files uploaded accidentally

  * config/lang.hb
    ! fixed last minute bug in adding extension to doc file
    ! fixed being wrongly based, now should be as passed option
      relative to cwd (was self dir)
2013-04-02 00:08:15 +02:00
Viktor Szakats
ba05780315 updated localization, manuals regenerated (semi-automatic) 2013-04-02 00:04:27 +02:00
Viktor Szakats
23ebe811d3 2013-04-02 00:00 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
    + now requires the target project to be passed on cmdline
    + now pulls configuration from .hbp files.
      See .hbp changes in this very commit.
    + generalized the 'hbrun' special case in 'doc_make' mode
    + generalized doc output type (so can be other than .md now)
    % doesn't require hbrun tool anymore
    ; it means the tool is now more or less generic and can
      support else than hbmk2

  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    + added configuration options for lang.hb

  * utils/hbi18n/hbi18n.prg
    + steps to make it better translatable

  * utils/hbmk2/hbmk2.prg
    + provisions to enable context in hb_i18n_*() API usage
2013-04-02 00:01:50 +02:00
Viktor Szakats
2c5662568c moved to global location 2013-04-01 23:46:10 +02:00
Viktor Szakats
f75ed9c574 2013-04-01 23:42 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/lang.hb
    + trs_push to push all languages
    + do not create doc of there if not supported
2013-04-01 23:44:08 +02:00
Viktor Szakats
97dee6eb03 updated localization, manuals regenerated (semi-automatic) 2013-04-01 23:38:13 +02:00
Viktor Szakats
f3847d9ddb updated localization, manuals regenerated (semi-automatic) 2013-04-01 20:47:07 +02:00
Viktor Szakats
f47c4f3a97 2013-04-01 18:53 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    * __i18n_potArrayClean() will now call transformation callback
      first again
    * __i18n_potArrayClean() transformation callback returning non-string
      will now be ignored instead of deleting the item

  * utils/hbmk2/hbmk2.prg
    * TOFIX added to a help text
2013-04-01 18:53:54 +02:00
Viktor Szakats
d630728319 updated localization, manuals regenerated (semi-automatic) 2013-04-01 18:44:16 +02:00
Viktor Szakats
10aab71a4b updated localization, manuals regenerated (semi-automatic) 2013-04-01 16:18:58 +02:00
Viktor Szakats
5ee7c8a419 updated localization, manuals regenerated (semi-automatic) 2013-04-01 14:24:35 +02:00
Viktor Szakats
c57aef04fc 2013-04-01 13:36 UTC+0200 Viktor Szakats (harbour syenar.net)
* .gitignore
    + added .hrb files

  * src/rtl/hbi18n2.prg
    * __i18n_potArrayClean() reverted to call transformation callback
      after deleting items
2013-04-01 13:37:33 +02:00
Viktor Szakats
fd4e1aa8b6 updated localization, manuals regenerated (semi-automatic) 2013-04-01 13:19:57 +02:00
Viktor Szakats
a0010d5b9a updated localization, manuals regenerated (semi-automatic) 2013-04-01 05:37:05 +02:00
Viktor Szakats
c2f5fc3ac9 2013-04-01 05:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/lang.hb
    + more automatic doctoring of translated strings

  * utils/hbmk2/hbmk2.prg
    * added TOFIX for an ambiguous translatable string
2013-04-01 05:36:11 +02:00
Viktor Szakats
0080b89464 updated localization, manuals regenerated (semi-automatic) 2013-04-01 04:24:27 +02:00
Viktor Szakats
159c2299d0 few value names were translatable by mistake 2013-04-01 04:23:02 +02:00
Viktor Szakats
1d279f7626 2013-04-01 04:13 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    + __i18n_potArrayClean() wlll now call transformation callback before
      deleting items
    ! __i18n_potArrayClean() fixed item deletion when transformation callback
      returns non-string

  * ChangeLog.txt
    * missed changed from prev
2013-04-01 04:14:50 +02:00
Viktor Szakats
02ebccfcdd 2013-04-01 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
    ! __i18n_potArraySort() fixed to not RTE when no source is present
    + __i18n_potArraySort() tweaked to sort items w/o source info to always
      come before ones with source info
    + __i18n_potArrayClean() wlll now call transformation callback before
      deleting items
    + __i18n_potArrayClean() will now remove the item in question if the
      callback returns any non-string value
    + __i18n_potArrayClean()'s second lKeepVoidTranslations = .F. option will
      now also remove items where the translation is identical to the msg id

  - utils/hbmk2/_po_pull.hb
  - utils/hbmk2/_po_push.hb
  - utils/hbmk2/_md_make.hb
  + utils/hbmk2/hblang.hb
    * merged separate management scripts into one
    + sort pulled .po files before stripping/processing
    ! do not process .po files in place to avoid race conditions
      between parallel script sessions
    * minor tweaks

  * README.md
    ! minor
2013-04-01 04:09:18 +02:00