Commit Graph

393 Commits

Author SHA1 Message Date
Amir E. Aharoni 9695cc1b68 Better adherence to coding conventions 2013-01-13 23:05:40 +02:00
Siebrand Mazeland 368c82a621 Localisation updates from http://translatewiki.net. 2013-01-13 15:01:21 +00:00
Siebrand Mazeland cf71e18560 Merge branch 'master' of github.com:wikimedia/jquery.uls 2013-01-13 13:54:46 +00:00
Siebrand Mazeland 3d003956f1 Merge pull request #73 from amire80/2013-01-09-fixes
2013 01 09 fixes
2013-01-09 05:20:43 -08:00
Amir E. Aharoni bbc7190384 Add 'frc' to AM region test 2013-01-09 13:16:02 +02:00
Amir E. Aharoni 44ed95ccdb Merge branch 'use_strict_data' into 2013-01-09-fixes 2013-01-09 13:14:50 +02:00
Amir E. Aharoni 30165c19c7 Merge branch 'prevent_dupes' into 2013-01-09-fixes 2013-01-09 13:14:09 +02:00
Amir E. Aharoni 8b4c5444b8 Merge branch 'no-norsk' into 2013-01-09-fixes 2013-01-09 13:13:19 +02:00
Siebrand Mazeland 4022eebbe9 Merge pull request #71 from amire80/cadien_AM
Change region of frc to America
2013-01-09 03:08:18 -08:00
Amir E. Aharoni 66a50931a5 Prevent appearance of redirects in the rendered list
utils.getLanguagesByScriptGroup() runs on the object's languages
property and not on all the langdb languages. This caused
the redirects to be counted as languages. I fixed this,
and added a test to prevent it.

Also update JS langdb, because it went out of sync in of
the previous commits.
2013-01-09 12:59:58 +02:00
Amir E. Aharoni 989c079ad6 Change region of frc to America
This is Cajun French, which is only spoken in America and not Europe.
2013-01-08 22:45:09 +02:00
Amir E. Aharoni 5828dc2374 Add autonym to code 'no' 2013-01-08 22:37:50 +02:00
Amir E. Aharoni df2c40dc92 'use strict' in JavaScript langdb
JSHint can complain about this in build checks, and it shouldn't
hurt anything. But correct me if I'm wrong.
2013-01-08 22:34:16 +02:00
Santhosh Thottingal ca18edd0dd Merge pull request #63 from amire80/bug_43568
Render every region only once
2013-01-07 06:44:04 -08:00
Siebrand Mazeland cf077fbf84 Localisation updates from http://translatewiki.net. 2013-01-07 10:18:34 +00:00
Santhosh Thottingal 0e61876af5 Merge branch 'extra_languages' of git://github.com/amire80/jquery.uls into amire80-extra_languages
Conflicts:
	src/jquery.uls.data.js
	src/jquery.uls.data.utils.js

Change-Id: I9c321891707b0d68328f4e4c8be1bd451794072d
2013-01-07 15:45:48 +05:30
Siebrand Mazeland 0205328a35 Merge pull request #68 from amire80/add_brx_rebase
Add brx rebase
2013-01-06 14:34:42 -08:00
Amir E. Aharoni 90a095a6cf Merge branch 'add_brx' into add_brx_rebase 2013-01-07 00:15:07 +02:00
Amir E. Aharoni e97827bb83 Add the Bodo language (brx) 2013-01-07 00:01:48 +02:00
Siebrand Mazeland 5a1e378cd0 Merge pull request #66 from amire80/add_sgs_redirect
Add redirect bat-smg -> sgs
2013-01-06 11:49:26 -08:00
Amir E. Aharoni b35d2ebc3b Add redirect bat-smg -> sgs 2013-01-06 20:29:30 +02:00
Siebrand Mazeland e08f51124e Merge pull request #65 from amire80/more-aliases-and-fixes
Some more fixes in redirects and codes
2013-01-04 11:50:18 -08:00
Amir E. Aharoni 98874233c1 Some more fixes in redirects and code
* Redirect fiu-vro to vro.
* Redirect roa-rup to rup.
* Redirect zh-yue to yue.
* Remove pru. Only prg is the right code for Prussian.
  pru is a code of a language in Indonesia, about which
  there's very little information, so it's better to remove it.
2013-01-04 21:33:43 +02:00
Siebrand Mazeland c109c46962 Merge pull request #60 from amire80/small_test_improvements
Test for Zulu
2013-01-04 09:40:06 -08:00
Siebrand Mazeland bcbdee482d Merge pull request #64 from amire80/bug_43569
Redirect zh-min-nan to nan
2013-01-04 09:38:55 -08:00
Amir E. Aharoni f822331b8b Redirect zh-min-nan to nan
Fixes bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=43569
2013-01-04 18:54:50 +02:00
Amir E. Aharoni 13473c9f7a Render every region only once
Fixes bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=43568
2013-01-04 08:31:20 +02:00
Amir E. Aharoni d4ef33d4f8 Merge pull request #58 from amire80/whitespace
Whitespace
2013-01-02 23:09:40 -08:00
Amir E. Aharoni 49436026d8 Whitespace 2013-01-02 18:48:02 +02:00
Amir E. Aharoni 1f91a4c40c Whitespace 2013-01-02 18:28:14 +02:00
Amir E. Aharoni 829c827483 Adding a special region
This is supposed to allow adding special languages.

This region's section is hidden by default and can be enabled by
passing different options to the lcd object.
2013-01-02 12:58:29 +02:00
Santhosh Thottingal 680e14196d Merge pull request #59 from amire80/arrange_aliases
Aliases for all the languages that need them
2013-01-02 02:33:22 -08:00
Amir E. Aharoni 5455000f38 Fixed test title 2012-12-30 21:18:04 +02:00
Amir E. Aharoni a7f90c69d3 Add test for Zulu
Just to make sure that the last language in the list
is processed.

Also fixed a comment.
2012-12-30 21:12:21 +02:00
Amir E. Aharoni 2eb696d28c Comments 2012-12-30 21:04:47 +02:00
Amir E. Aharoni 2b4eb1ca19 Spelling 2012-12-30 20:48:46 +02:00
Amir E. Aharoni e78a2507d7 Whitespace 2012-12-30 20:34:32 +02:00
Amir E. Aharoni 2ce57b37fe Test for double redirects 2012-12-30 19:27:36 +02:00
Amir E. Aharoni 683ad727e1 Add aliases to the languages that need them 2012-12-30 19:14:51 +02:00
Siebrand Mazeland 52c0052bf5 Localisation updates from http://translatewiki.net. 2012-12-30 10:30:53 +00:00
Santhosh Thottingal 33eda41b6f Merge pull request #57 from siebrand/master
Update docs
2012-12-28 20:23:06 -08:00
Siebrand Mazeland d2d287fbc4 Update docs 2012-12-27 21:58:54 +01:00
Siebrand Mazeland f9111d5e39 Simplify if statement 2012-12-27 21:45:35 +01:00
Santhosh Thottingal 8c54381e58 Change double quotes to single quotes
Change-Id: I4684a4bc4ac26fffba7310891106d254e893dd63
2012-12-24 16:29:14 +05:30
Santhosh Thottingal 38d5826b72 Remove all deprecated methods
Change-Id: I8f6507f264ace851483d317af38733be46c51091
2012-12-24 16:18:26 +05:30
Santhosh Thottingal c5d2d19e1e Merge pull request #55 from amire80/langdb_aliases_cleanup
Add basic support for redirects
2012-12-24 02:32:32 -08:00
Siebrand Mazeland fa5fa3f687 Localisation updates from http://translatewiki.net. 2012-12-21 18:45:49 +00:00
Amir E. Aharoni 200efaf9f2 Merge branch 'langdb_aliases_cleanup' of github.com:amire80/jquery.uls into langdb_aliases_cleanup 2012-12-17 10:48:58 +02:00
Amir E. Aharoni 22112fefbf Add missing semicolon 2012-12-17 10:45:30 +02:00
Amir E. Aharoni c127247178 Test that all redirects have valid targets 2012-12-17 10:45:30 +02:00