Skip to content

Commit

Permalink
Merge pull request #237 from iLib-js/development
Browse files Browse the repository at this point in the history
Merge to master to release 14.5.0
  • Loading branch information
ehoogerbeets authored Mar 11, 2020
2 parents c53db71 + 381f665 commit 2b3a05a
Show file tree
Hide file tree
Showing 162 changed files with 6,209 additions and 2,210 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ qt/FileReader/release/
qt/output/

/node_modules/
/dist/
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version=14.4.0
version=14.5.0
23 changes: 19 additions & 4 deletions docs/QtTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,27 @@ In order to run a test on QT/QML environment, You need to some setting in Advanc
You need to install [QT](https://www.qt.io/download) on your machine first. We've confirmed that iLib works in QT 5.9. The latest version of QT is not guaranteed yet. I recommend installing version under `QT 5.9` and `QtQuick 2.5+`

##### 2. Modify qt/build.properties file
When you checkout iLib sources, Default values in `qt/build.properties` is `QTBIN=/opt/qt55/bin` If you install different location, You need to modify this file.
When you checkout iLib sources, Default values in `qt/build.properties` is `QTBIN=/opt/qt55/bin` If you install different locations, You need to modify this file.

##### Additional Information
If your machine still doesn't point QT where you want, Please modify `default.conf` following way.

[qtchooser](https://www.systutorials.com/docs/linux/man/1-qtchooser/): - a wrapper used to select between Qt development binary versions

a. Check current system status first by qtchooser command
~~~~~
> qtchooser –print-env
~~~~~
b. Modify `defult.conf`
It's System-wide configuration file. If a `default.conf` is provided, the settings from it will be automatically used in case nothing else is selected.
~~~~~
> sudo vi /usr/lib/x86_64-linux-gnu/qtchooser/default.conf
~~~~~

##### 3. Run Qt/QML Test by executing ant
Executing below command under qt/ directory.
~~~~~
ant test.qt.nodeunit
> ant test.qt.nodeunit
~~~~~

### Trouble Shooting ###
Expand All @@ -24,8 +39,8 @@ ant test.qt.nodeunit
You might need to install package below:

~~~~~
sudo apt-get install libnetpbm10-dev
sudo apt-get install libglu1-mesa-dev
> sudo apt-get install libnetpbm10-dev
> sudo apt-get install libglu1-mesa-dev
~~~~~

2. When you faced errors as below,
Expand Down
23 changes: 23 additions & 0 deletions docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
Release Notes for Version 14
============================

Build 008
-------
Published as version 14.5.0

New Features:
* Added missing methods to the IString classes to echo all the methods on the intrinsic string class
* Added methods that have been added in the last few years which some engines define and others do not
* Delegates to the string class. Does not offer a polyfill yet.
* Methods added are: matchAll, endsWith, startsWith, includes, normalize, padEnd,
padStart, repeat, toLocaleLowerCase, toLocaleUpperCase, trim, trimEnd, trimRight,
trimStart, trimLeft.
* Defined the "length" property so that it returns the string's length like the intrinsic strings do
* Added unit tests that only test the new methods if the underlying string class implements each new
method.
* Added a "familiar" style to the name formatter
* This is as familiar as you can get and yet not be rude to a stranger for each locale. For example, in
English, you would use someone's given name, but in Japan, you would use the full name with honorific.

Bug Fixes:
* Updated to IANA time zone data 2019c
* Updated the Korean Name Formatting component per style. Including 'suffix' is more natural than having a 'prefix' or 'honorific'.
* Added missing likelylocale for `hr-ME`.

Build 007
-------
Published as version 14.4.0
Expand Down
18 changes: 10 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ Hello, and welcome to the iLib project!
* [Updating the time zone information](tutorial/timezone.md)
* [Running unit test on QT/QML](QtTest.md)
* API Reference:
* [10.0](http://www.translationcircle.com/ilib/doc/10.0/jsdoc/)
* [11.0](http://www.translationcircle.com/ilib/doc/11.0/jsdoc/)
* [12.0](http://www.translationcircle.com/ilib/doc/jsdoc/) (latest stable)
* [latest](http://www.translationcircle.com/ilib/doc/jsdoc/) (latest development release)
* [10.0](https://ilib-js.github.io/iLib/docs/api/10.0/jsdoc/index.html)
* [11.0](https://ilib-js.github.io/iLib/docs/api/11.0/jsdoc/index.html)
* [12.0](https://ilib-js.github.io/iLib/docs/api/12.0/jsdoc/index.html)
* [13.0](https://ilib-js.github.io/iLib/docs/api/13.0/jsdoc/index.html)
* [14.0](https://ilib-js.github.io/iLib/docs/api/jsdoc/index.html) (latest stable)
* Javadocs:
* [10.0](http://www.translationcircle.com/ilib/doc/10.0/javadoc/)
* [11.0](http://www.translationcircle.com/ilib/doc/11.0/javadoc/)
* [12.0](http://www.translationcircle.com/ilib/doc/javadoc/) (latest stable)
* [latest](http://www.translationcircle.com/ilib/doc/javadoc/) (latest development release)
* [10.0](https://ilib-js.github.io/iLib/docs/api/10.0/javadoc/index.html)
* [11.0](https://ilib-js.github.io/iLib/docs/api/11.0/javadoc/index.html)
* [12.0](https://ilib-js.github.io/iLib/docs/api/12.0/javadoc/index.html)
* [13.0](https://ilib-js.github.io/iLib/docs/api/13.0/javadoc/index.html)
* [14.0](https://ilib-js.github.io/iLib/docs/api/javadoc/index.html) (latest stable)
* [FAQ](FAQ.md)
* [Demo](http://www.translationcircle.com/ilib/demo/)

Expand Down
4 changes: 2 additions & 2 deletions js/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ limitations under the License.
<property name="nm.bin" value="${build.base}/../node_modules/.bin"/>
<property name="jar.ilib" value="ilib.jar"/>
<property name="locales.default" value="en-AU,en-CA,en-GB,en-IN,en-NG,en-PH,en-PK,en-SG,en-US,en-ZA,de-DE,fr-CA,fr-FR,es-AR,es-ES,es-MX,id-ID,it-IT,ja-JP,ko-KR,pt-BR,ru-RU,tr-TR,vi-VN,zxx-XX,zh-Hans-CN,zh-Hant-HK,zh-Hant-TW,zh-Hans-SG"/>
<property name="locales.unittest" value="aa-DJ,af-NA,agq-CM,ak-GH,am-ET,ar-AE,ar-BH,ar-DJ,ar-DZ,ar-EG,ar-IQ,ar-JO,ar-KW,ar-LB,ar-LY,ar-MA,ar-MR,ar-OM,ar-QA,ar-SA,ar-SD,ar-SY,ar-TN,ar-YE,asa-TZ,as-IN,az-Latn-AZ,bas-CM,be-BY,b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FI,fj-FJ,fr-AD,fr-BE,fr-BF,fr-BJ,fr-CA,fr-CD,fr-CF,fr-CG,fr-CH,fr-CI,fr-CM,fr-DJ,fr-DZ,fr-FR,fr-GA,fr-GN,fr-LB,fr-LU,fr-MG,fr-ML,fr-RW,fr-SN,fr-TG,fr-YT,ga-IE,gl-ES,gu-IN,ha-Latn-NG,he-IL,hi-IN,hr-HR,hr-ME,hu-HU,hy-AM,hy-AZ,id-ID,id-MY,it-CH,it-IT,is-IS,it-SM,ja-JP,ka-GE,ka-IR,kk-Cyrl-KZ,km-KH,kn-IN,ko-KR,ks-Arab-IN,ku-IR,lg-UG,ln-CF,lt-LT,lv-LV,mi-CK,mk-MK,ml-IN,mn-CN,mr-IN,ms-BN,ms-MY,nb-NO,ne-IN,nl-BE,nl-CW,nl-GF,nl-NL,nl-SR,no-BV,no-NO,no-SJ,om-ET,or-IN,os-RU,pa-Arab-PK,pl-PL,pt-AO,pt-BR,pt-CV,pt-GW,pt-MO,pt-MZ,pt-PT,pt-ST,pt-TL,ro-RO,ro-RS,ru-KG,ru-KZ,ru-RU,ru-TM,si-LK,sk-SK,sl-SI,so-ET,so-SO,sq-AL,sq-ME,sq-MK,sr-Cyrl-BA,sr-Latn-BA,sr-Latn-ME,sr-Latn-RS,sr-RS,ss-ZA,st-LS,sv-FI,sv-SE,sw-UG,ta-LK,ta-MY,ta-SG,te-IN,th-TH,tr-TR,tr-CY,uk-UA,ur-IN,ur-PK,uz-AF,uz-Arab-AF,uz-Cyrl-UZ,uz-Latn-UZ,vai-Latn-LR,vi-VN,zh-Hans-CN,zh-Hans-MO,zh-Hans-MY,zh-Hans-SG,zh-Hant-HK,zh-Hant-TW,zh-Hant-US,zu-ZA,zxx-Cyrl-XX,zxx-Hans-XX,zxx-Hebr-XX,zxx-XX"/>
<property name="keep.these.comments" value="/(\!data|\!loadLocaleData|\!defineLocaleData|\!macro|eslint-)/"/>

<!-- =================================================================== -->
Expand Down
3 changes: 3 additions & 0 deletions js/data/locale/cs/name.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"format": "{prefix} {givenName} {middleName} {familyName} {suffix}",
"components": {
"familiar": "pf"
},
"sortByHeadWord": false,
"nameStyle": "western",
"conjunctions": {
Expand Down
37 changes: 20 additions & 17 deletions js/data/locale/de/name.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"sortByHeadWord": true,
"conjunctions": {
"and1": "und",
"and2": "und",
"or1": "oder",
"or2": "oder"
},
"sortByHeadWord": true,
"components": {
"familiar": "pf"
},
"conjunctions": {
"and1": "und",
"and2": "und",
"or1": "oder",
"or2": "oder"
},
"auxillaries": {
"von": 1,
"van": 1,
Expand Down Expand Up @@ -269,14 +272,14 @@
"hochwohlgeborene",
"hochwohlgeborener",
"heiliger",
"der",
"die",
"das",
"dem",
"den",
"und",
"oder"

"der",
"die",
"das",
"dem",
"den",
"und",
"oder"
],
"suffixes": [
"junior",
Expand All @@ -297,6 +300,6 @@
"im ruhestand",
"ba",
"ma",
"phd"
]
"phd"
]
}
3 changes: 2 additions & 1 deletion js/data/locale/en/HK/name.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"order": "fgm",
"components": {
"formal_long": "pgfm"
"formal_long": "pgfm",
"familiar": "gf"
},
"useSpaces": true,
"format": "{prefix} {familyName} {givenName} {middleName}{suffix}",
Expand Down
3 changes: 3 additions & 0 deletions js/data/locale/fr/name.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"components": {
"familiar": "pf"
},
"prefixes": [
"baron",
"baronne",
Expand Down
3 changes: 2 additions & 1 deletion js/data/locale/ja/name.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"components": {
"formal_short": "sf",
"formal_long": "sgf"
"formal_long": "sgf",
"familiar": "sgf"
},
"format": "{prefix}{familyName}{middleName}{givenName}{suffix}",
"nameStyle": "asian",
Expand Down
Loading

0 comments on commit 2b3a05a

Please sign in to comment.