Commit graph

632 commits

Author SHA1 Message Date
kaldari 0c870e10ce Adding a comment explaining where the i18n messages are
Change-Id: I0e01f8d21575ffaa77bac0d79dc1f5e1c2883438
2014-03-12 17:41:42 -07:00
Roan Kattouw 880a972166 Use JSON support in core for i18n messages
Replace VisualEditor.i18n.php with a shim that uses the
LocalisationCacheRecache hook to read messages from JSON files
and add cache dependencies.

Change-Id: Ib8490d3e327ddf5852827c24ee2aa2916c8af072
2014-01-05 18:41:43 +08:00
James D. Forrester 35a6db00b7 Rebuild VisualEditor.i18n.php – 2013-12-18 19:57:00
Change-Id: I1d1a1256893ecf4489d64e7cf395a6b5d7598d73
2013-12-18 11:56:51 -08:00
Roan Kattouw 4114da45fa Rebuild VisualEditor.i18n.php
Change-Id: Idf167d3f3b604ff23df050741c68e3b024897c93
2013-12-13 12:36:51 -08:00
Roan Kattouw 789d187ce5 Add JSON->PHP conversion script for i18n
Apparently the .i18n.php shim is causing problems in both production
and beta labs, so for now we'll just generate the .i18n.php file
from the JSON files.

The first half of the conversion script is identical to the shim.

Change-Id: Id606584197d7efcff6fff29ea22cd35dd744b55e
2013-12-12 13:48:05 -08:00
James D. Forrester 560f8642ed Add a note to the top of the i18n shim explaining what it is
Change-Id: I07a6abf0d85e4ec692bb25414d65c226977b69f7
2013-12-11 18:02:19 -08:00
Roan Kattouw 728077039d Put the shim from 9abad038 back (was reverted in b9bbf60f)
The shim triggers bug 58249, but that's not as bad as we thought.
It turns out LocalisationUpdate still finishes despite the scary
exception, it just skips VisualEditor and finishes the rest successfully.

I will work on making the LU error more useful, and eventually
making it support JSON blobs, but the shim isn't causing a
lot of damage for now.

Change-Id: I92f11524d891e901f1a089dd8cad1232478a5ee4
2013-12-10 11:11:10 -08:00
jenkins-bot 9bf0f5b93e Merge "Show full language names in the MW language dialog" 2013-12-10 17:00:53 +00:00
Jforrester b9bbf60ffb Revert "Shim for VisualEditor.i18n.php that reads JSON blobs"
This reverts commit 9abad0385d.

I guess for now we'll just have to keep these in sync manually until MW core is updated.

Bug: 58249
Change-Id: I243303bdcbd048248776866fa12a17fc8279b80f
2013-12-10 02:41:25 +00:00
Roan Kattouw 9abad0385d Shim for VisualEditor.i18n.php that reads JSON blobs
For performance we might also want to provide a conversion script
that generates a static PHP file.

Change-Id: I6a72bb3ec23c90fc5740327a7e46b4d805562779
2013-12-09 13:20:29 -08:00
Translation updater bot 5aca63495e Localisation updates from https://translatewiki.net.
Change-Id: Ic9e1017e3fc867016a6d04cc95250eb899791c04
2013-12-08 20:29:26 +00:00
Translation updater bot a28d2c3cd6 Localisation updates from https://translatewiki.net.
Change-Id: I68afe24adc4fd1d9f24cc2ae01a180e583c3f7be
2013-12-07 01:55:36 +00:00
Ed Sanders 1a5bdd5bd2 Show full language names in the MW language dialog
Bug: 54086
Change-Id: I099ac552638d666a447eb3aeaef68329ffacdfce
2013-12-06 13:10:33 +00:00
Moriel Schottlender cf237b882e Insert special character tool
A tool to add special characters and diacritics to text.

Also added a new button type ve.ui.GroupButtonWidget that includes a
group of PushButtonWidget objects and returna the individual button's
value upon click

Wikis can edit <visualeditor-specialcharinspector-characterlist-insert>,
a JSON string, to include their own desird special characters to insert
through the tool.

Bug: 50296
Change-Id: I26d1f437feef1c8b61ed3be5f74ef524b33baf49
2013-12-05 22:51:14 -08:00
Translation updater bot bd76e77a59 Localisation updates from https://translatewiki.net.
Change-Id: Ic5fb1783848c326729af523e619740e144c2046b
2013-12-05 21:18:48 +00:00
Translation updater bot 67a6148892 Localisation updates from https://translatewiki.net.
Change-Id: I6261f0832b5b8938e980c6bcec330364f0fc4135
2013-12-04 20:26:17 +00:00
Roan Kattouw b3eb415e37 Remove ooui-inspector-* messages
Move existing uses over to the already existing visualeditor-inspector-*
messages.

Change-Id: I6da7f3d61256d1c2b4c1f9583da8bc59a2d7473d
2013-12-04 19:04:51 +00:00
Translation updater bot b0b1513ac1 Localisation updates from https://translatewiki.net.
Change-Id: I7c9f6edab0f559e6c1c14d49ac83922c0f818d20
2013-12-03 20:51:30 +00:00
Translation updater bot 9e233c4a7a Localisation updates from https://translatewiki.net.
Change-Id: I4ef6e82d38f98bb2c6373bea1d9ffec985b5e250
2013-12-02 20:41:40 +00:00
Translation updater bot b8ff6dac4d Localisation updates from https://translatewiki.net.
Change-Id: Iba1328c19f95b6fe3cfad87c1e4752a2074ec844
2013-12-01 19:58:00 +00:00
Translation updater bot 8786486289 Localisation updates from https://translatewiki.net.
Change-Id: I976bfc2217745b29ff5b7778077dda89bc8f2bf9
2013-11-30 19:55:33 +00:00
Translation updater bot ee7eb817ec Localisation updates from https://translatewiki.net.
Change-Id: Ieac5d8326e80acf72160b4a3a60f295c1577f86f
2013-11-29 19:32:18 +00:00
Translation updater bot 4d76d9382b Localisation updates from https://translatewiki.net.
Change-Id: Iae9280bb9373b27f0764afbc19da57f7de280ea6
2013-11-27 19:28:46 +00:00
jenkins-bot 96cace53bc Merge "Note language links need to be edited on Wikidata" 2013-11-26 22:54:00 +00:00
Translation updater bot 1e77fad405 Localisation updates from https://translatewiki.net.
Change-Id: I20b98ddc532ac32388cabd63c9125b71cb7399b3
2013-11-26 20:24:29 +00:00
Translation updater bot fda7482cde Localisation updates from https://translatewiki.net.
Change-Id: I70d8a96d3babae153047a263df0a77bd22711be0
2013-11-25 21:18:36 +00:00
James D. Forrester eaa574e05a Note language links need to be edited on Wikidata
It wasn't true when we wrote this message, but now most of the language
links on most of the wikis are edited via Wikidata, rather than source
editing mode, so tweak the message accordingly.

Bug: 51816
Change-Id: Id11d1af397314030c3c74aa029974fcdfd9e10df
2013-11-25 15:14:33 +00:00
Translation updater bot 76d89342fc Localisation updates from https://translatewiki.net.
Change-Id: Ic5d686274996eb4ec2682f428c2c7464d5460071
2013-11-24 20:37:02 +00:00
Translation updater bot 50af9b9cd2 Localisation updates from https://translatewiki.net.
Change-Id: I0c9b3260c1f411efb877395732c6e9d89b847867
2013-11-23 10:49:41 +00:00
Translation updater bot e9ad0c7b36 Localisation updates from https://translatewiki.net.
Change-Id: Id6e208a19eaf356252bc7778ea6b53eaff169974
2013-11-21 20:41:11 +00:00
Translation updater bot d260eb8753 Localisation updates from http://translatewiki.net.
Change-Id: I4d5313d5f417efc5b7ac93f7dd064665f8e7e1f9
2013-11-20 20:44:46 +00:00
Translation updater bot c3c41e5112 Localisation updates from http://translatewiki.net.
Change-Id: I69bdc2e43985f5de574bb3ddd64b3415c30a320f
2013-11-19 20:17:07 +00:00
Translation updater bot 322e120806 Localisation updates from http://translatewiki.net.
Change-Id: I7db3b66ebb543e01f3c1570b08e1a221fcff7fe6
2013-11-18 20:40:50 +00:00
kaldari 0aeab0d573 Restoring messages that seem to have been deleted prematurely.
ooui-inspector-close-tooltip and ooui-inspector-remove-tooltip are
still in use by OO.ui.

Change-Id: I241acc5f2b7822adeeab626efc1c5b12384ae54b
2013-11-18 15:15:16 +05:30
jenkins-bot cd86f9ae3d Merge "Point to the "Help" button instead of the "Beta" button for feedback." 2013-11-18 04:59:31 +00:00
Translation updater bot 98a2f3e52a Localisation updates from http://translatewiki.net.
Change-Id: Ie44ddea7e555510e96342609f70410ec6bf7955d
2013-11-17 20:27:51 +00:00
Eloquence abf056232b Point to the "Help" button instead of the "Beta" button for feedback.
The "Beta" button was removed a while ago, so the old text is now
misleading.  Also changed it to double quotes to be consistent with
other use cases.

Change-Id: I4ccb53fea02d1029fce2d8d0f7ba8613e8672fe7
2013-11-16 01:17:08 -08:00
Translation updater bot 1035568624 Localisation updates from http://translatewiki.net.
Change-Id: Ic39562e311e8b335e0e2a32753cc5609a37c1da5
2013-11-15 20:26:00 +00:00
Translation updater bot 4b722acff6 Localisation updates from http://translatewiki.net.
Change-Id: If46fecf856bef5c1ef4514b05ff150e1ea9a0dee
2013-11-14 20:37:39 +00:00
Translation updater bot 8c8f01ebce Localisation updates from http://translatewiki.net.
Change-Id: I46a6fefed1e6f2992588e09de1f45bf8534b509b
2013-11-13 20:25:06 +00:00
Trevor Parscal 3dcba7679a Add OO.ui.ToggleWidget
Compact toggle widget with short labels for on/off states.

Change-Id: I582e81126d5f1564302409c1b262e28e4a9505ac
2013-11-12 16:54:35 -08:00
Translation updater bot d5b6ba5321 Localisation updates from http://translatewiki.net.
Change-Id: Ifc8ee0848e7aaffb256ded8c43b3ddb1b87e2ffc
2013-11-12 20:33:39 +00:00
Translation updater bot ed3172d0f8 Localisation updates from http://translatewiki.net.
Change-Id: I8074572fae263f9eb4e404170cb35cbadcd1dacd
2013-11-11 20:20:17 +00:00
Translation updater bot 51a7807fd2 Localisation updates from http://translatewiki.net.
Change-Id: I20148f3abe2e53b2b81f9c9dde2153d67cb1f27a
2013-11-10 20:30:29 +00:00
Translation updater bot 9149bca6fe Localisation updates from http://translatewiki.net.
Change-Id: I4f694fd5a99641533eb08fc4f21a361240af4613
2013-11-09 19:14:44 +00:00
Trevor Parscal 4192cbc4d5 Window refactor
Changes:

* Cleanup the window API to use more consistent and intuitive methods - we
  now use initialize/setup/teardown instead of
  initialize/onSetup/onOpen/onClose as methods which are overridden, and
  use open/close methods to control the window
* Change events around to have opening/open and closing/close events which
  act as before/after points during the opening/closing process
* Make WindowSet and Context respond to windows being opened, rather than
  opening them directly
* Fix a LinkInspector creation mode bug where the initial text doesn't get
  reset
* Move inspector, a VisualEditor concept, back to VE
* Cleanup naming of SurfaceDialog, SurfaceToolbar, etc. to use shorter
  names, they were given Surface* names when the generic ones were also in
  VE, but now the generic ones are in OO, so they can return to their
  original names

Change-Id: I82c4fed8bcb3fb5630938c8bc4dd9b2d5f1a8c1d
2013-11-08 12:33:25 -08:00
Translation updater bot 0aee2f7849 Localisation updates from http://translatewiki.net.
Change-Id: I4366816b15e4f477021a6f94c2eb3e25fd692715
2013-11-07 20:22:50 +00:00
Translation updater bot f60036a798 Localisation updates from http://translatewiki.net.
Change-Id: I98da6500d27ee875387677665cd5e1fce4b22395
2013-11-06 20:49:09 +00:00
Translation updater bot 900ec3f237 Localisation updates from http://translatewiki.net.
Change-Id: I684c1fb09fed13621a13ed63aee1451edd2b39af
2013-11-05 21:09:15 +00:00
Translation updater bot 3469c01488 Localisation updates from http://translatewiki.net.
Change-Id: If3bfcb58e16a5296d50b674f8003b1d245219e07
2013-11-04 20:01:49 +00:00