Commit graph

244 commits

Author SHA1 Message Date
Translation updater bot 06968951c0 Localisation updates from http://translatewiki.net.
Change-Id: I5c5835c268f4654228f253ca72afacc768251ee0
2013-03-19 21:46:15 +00:00
Translation updater bot 5301df5bc3 Localisation updates from http://translatewiki.net.
Change-Id: I7954146323f7c48487aa21fc578aa09f3815f981
2013-03-18 21:10:10 +00:00
Translation updater bot 2fc5edf688 Localisation updates from http://translatewiki.net.
Change-Id: Iaf83e65d89f7b3f4700edbd16527b13677ec0d91
2013-03-16 21:32:28 +00:00
Translation updater bot c189f6345c Localisation updates from http://translatewiki.net.
Change-Id: I1e44ab524f7f8d54cd6dfa0c1556c67c96acb0c6
2013-03-15 20:05:19 +00:00
Translation updater bot b4a95dc4de Localisation updates from http://translatewiki.net.
Change-Id: I160ebbac817543781de503ae1e5928c18b08e4da
2013-03-14 20:52:11 +00:00
Trevor Parscal 1572ec1569 Context, frame, window, dialog and inspector refactor
This is a major refactor of user interface context, frame, dialog
and inspector classes, including adding several new classes which
generalize managing inspectors/dialogs (which are now subclasses
of window).

New classes:
* ve.ui.Window.js - base class for inspector and dialog classes
* ve.ui.WindowSet.js - manages mutually exclusive windows, used
  by surface and context for dialogs and inspectors respectively
* ve.ui.DialogFactory - generates dialogs
* ve.ui.IconButtonWidget - used in inspector for buttons in the head

Refactored classes:
* ve.ui.Context - moved inspector management to window set
* ve.ui.Frame - made iframes initialize asynchronously
* ve.ui.Dialog and ve.ui.Inspector - moved initialization to async
  initialize method

Other interesting bits:

ve.ui.*Icons*.css, *.svg, *.png, *.ai
* Merged icon stylesheets so all icons are available inside windows
* Renamed inspector icon to window

ve.ui.*.css
* Reorganized styles so that different windows can include only
  what they need
* Moved things to where they belonged (some things were in strange places)

ve.init.Target.js, ve.init.mw.ViewPageTarget.js, ve.init.sa.Target.js
* Removed dialog management - dialogs are managed by the surface now

ve.ui.*Dialog.js
* Renamed title message static property
* Added registration

ve.ui.*Inspector.js
* Switch to accept surface object rather than context, which conforms
  to the more general window class without losing any functionality
  (in fact, most of the time the surface was what we actually wanted)

ve.ui.MenuWidget.js, ve.ui.MWLinkTargetInputWidget.js
* Using surface overly rather than passing an overlay around
  through constructors

Change-Id: Ifd16a1003ff44c48ee7b2c66928cf9cc858b2564
2013-03-14 00:03:31 +00:00
Translation updater bot 4a53ed263d Localisation updates from http://translatewiki.net.
Change-Id: I3a873d19eb5c2cbe689492321df12b500f323ba9
2013-03-12 21:19:07 +00:00
Translation updater bot 0f7575a4be Localisation updates from http://translatewiki.net.
Change-Id: Ie45aaead6474f3b53454314685bda6593693885a
2013-03-10 21:45:06 +00:00
Translation updater bot d62d0241e2 Localisation updates from http://translatewiki.net.
Change-Id: I524b94d521f8da5fe48b066964b73b5b22e3959f
2013-03-08 17:13:48 +00:00
Rob Moen 1206d20646 Tweak i18n for meta and content dialog title
Change-Id: I4dc5c07073d1c1b202dbdb2f7c0c9e138d967a22
2013-03-07 15:48:59 -08:00
Rob Moen 7044ec820f More work on dialog classes and their mw specific handling.
Changes include:

VisualEditor.i18n.php, VisualEditor.php
* i18n labels for dialogs

ve.init.mw.ViewPageTarget.js
* Initial go at onOpenDialog and onCloseDialog methods

ve.init.Target.js
* Change calls to dialog hide & show to close & open

ve.ui.MetaDialog.js, ve.ui.ContentDialog.js
* Pass surface when constructing
* Add static title message property

ve.ui.Surface.css
* Set high z-index for toolbar for shadow to overlap dialog.

ve.ui.Dialog.js
* Extends EventEmitter class.
* Changed hide/show method names to open/close.
* Create base ui elements.

ve.Surface.js
* Create instance of meta dialog.

Change-Id: I867ca0546606eeb5e2ab7f612bb5af700ab877ec
2013-03-07 12:47:42 -08:00
Translation updater bot 9f0474cb71 Localisation updates from http://translatewiki.net.
Change-Id: Ibfabac13df838d583054964d68533f2be227781e
2013-03-04 21:36:20 +00:00
Translation updater bot 83cce843a6 Localisation updates from http://translatewiki.net.
Change-Id: I7a30b371511809c38fd139989d6d90e0c9d6252a
2013-03-01 21:31:52 +00:00
Translation updater bot e7d1abf2ce Localisation updates from http://translatewiki.net.
Change-Id: I449dd66f68534abd4e726579869f49f2984679a5
2013-02-27 21:23:13 +00:00
Translation updater bot 3fd8ace016 Localisation updates from http://translatewiki.net.
Change-Id: If262096fc513b30795fb84c81a786740f477cc8c
2013-02-26 20:55:13 +00:00
Translation updater bot 028f7a411a Localisation updates from http://translatewiki.net.
Change-Id: I4a09f45475098c28a8862cbd419d4f7b6cafb0c9
2013-02-18 21:01:53 +00:00
Translation updater bot 7fc8644b90 Localisation updates from http://translatewiki.net.
Change-Id: I20aaef5aad0f74f46dd50cfd7cbd4ed00a153f11
2013-02-17 20:53:26 +00:00
Translation updater bot 28d4613085 Localisation updates from http://translatewiki.net.
Change-Id: Idda059853b3df58b733d99ab28156ddb7209b0c0
2013-02-16 23:23:29 +00:00
Translation updater bot e221faadf6 Localisation updates from http://translatewiki.net.
Change-Id: I134fd570e2881c051c2261054d5fbb43b42fc121
2013-02-15 20:39:29 +00:00
Translation updater bot 0313baea6b Localisation updates from http://translatewiki.net.
Change-Id: Iaec2e74ce6b5ffa4e87050ad7c787b174d413eb3
2013-02-14 20:34:19 +00:00
Translation updater bot 92292a2ba7 Localisation updates from http://translatewiki.net.
Change-Id: I4561ae3efd3987de864486263027ef9a093fd9c9
2013-02-13 21:07:51 +00:00
Translation updater bot 90f5b95e9a Localisation updates from http://translatewiki.net.
Change-Id: I1d654ef2a718211bf4ba41e032c5530de60b7640
2013-02-12 20:30:16 +00:00
Translation updater bot 4a25f6714c Localisation updates from http://translatewiki.net.
Change-Id: I55ee9d5914bdb7dba7c28ba59041b1024bd46fc2
2013-02-09 23:05:39 +00:00
Translation updater bot 1ee96c9e0e Localisation updates from http://translatewiki.net.
Change-Id: Ic8bc2d5212d5653157c73b474af478778a905039
2013-02-08 21:34:51 +00:00
Translation updater bot 45591e903e Localisation updates from http://translatewiki.net.
Change-Id: I174b1db993124f5d965e06287a80d60654abb96c
2013-02-06 20:18:07 +00:00
Translation updater bot e17220a0af Localisation updates from http://translatewiki.net.
Change-Id: I3a0914ad5d1dc4acd067991a624bca03af2a08e2
2013-02-05 21:32:18 +00:00
Translation updater bot c4ee328edf Localisation updates from http://translatewiki.net.
Change-Id: I637f92daed34ac338e858a0fd151cfae43cc2895
2013-02-04 22:24:09 +00:00
Translation updater bot 269ad2392b Localisation updates from http://translatewiki.net.
Change-Id: I1d4ab6e2e6012124c9ede2bc0ab895d74babb2f0
2013-02-02 21:35:49 +00:00
Translation updater bot d894c84ea7 Localisation updates from http://translatewiki.net.
Change-Id: Ia91eccdbac663c4cbcd0a967d98acce893cd9db4
2013-01-31 20:44:48 +00:00
Translation updater bot 186dabf40b Localisation updates from http://translatewiki.net.
Change-Id: I5f90aee8638592987274beb2456b109c85eca5e1
2013-01-30 20:51:45 +00:00
Trevor Parscal 294db5e3ef Trigger refactor
Objective: Simplify the registration and use of triggers

Changes:

* Renamed ve.Command to ve.Trigger
* Renamed command demo to trigger demo
* Removed language prefixing of triggers
* Generating trigger tooltips rather than hard-coding them in i18n
* Added documentation to clarify that only 'mac' and 'pc' are supported platforms, and how the default is chosen
* Simplified trigger registry's register command
* Updated trigger registrations

Change-Id: Ibab6ad5b5c86f24707f064967dc2119a81125392
2013-01-28 17:06:13 -08:00
Translation updater bot c9f444b9b1 Localisation updates from http://translatewiki.net.
Change-Id: I5171de253449ce947efe8969518da3a94bb839c6
2013-01-28 22:04:40 +00:00
Translation updater bot f77a02f217 Localisation updates from http://translatewiki.net.
Change-Id: I936572e4e09bf17e23d30b9907cdbdce280fca2a
2013-01-27 17:58:25 +00:00
Translation updater bot 2bec00925e Localisation updates from http://translatewiki.net.
Change-Id: Iede32ba7a624255707727bdf5d9f144aa39b73b3
2013-01-25 20:42:27 +00:00
Translation updater bot 930807c114 Localisation updates from http://translatewiki.net.
Change-Id: I1f79d22cd0f29a4289400306059c0e25e0063479
2013-01-24 21:02:09 +00:00
Translation updater bot 3d3635e6c1 Localisation updates from http://translatewiki.net.
Change-Id: Ieedf1c85849348ddef28ec360b2d4dde0ff82286
2013-01-22 20:52:37 +00:00
Translation updater bot 41bce227f4 Localisation updates from http://translatewiki.net.
Change-Id: I4433a78e3a9baa78d97d4e2c975971860733918a
2013-01-21 20:50:57 +00:00
Translation updater bot ad0fc08082 Localisation updates from http://translatewiki.net.
Change-Id: I3dc88656fb58d21aa7e8321d1b08659ddfecac5a
2013-01-20 19:48:56 +00:00
Translation updater bot b6086e598a Localisation updates from http://translatewiki.net.
Change-Id: Ibc33a284b2b57ec299b099633d5b373f6483fe11
2013-01-19 16:15:02 +00:00
Rob Moen 8ba81f4d67 Add interplatform, i18n shortcuts to ui buttons.
Objective:
* Put command shortcuts in button title attributes. (Bug 42919)
* Provide a registry for platform specific command triggers and their
corresponding i18n messages. (Bug 44012)
* Enable loading of triggers after ve.Surface is created. (lazy load)

Changes:

VisualEditor.i18n.php
* Add default trigger i18n messags for mac and pc system platforms

VisusalEditor.php, demos/ve/index.php
* Add links to files

ve.init.mw.Platform.js
* Define getUserLanguage and getSystemPlatform methods.

ve.init.sa.Platform.js
* Define getUserLanguage and getSystemPlatform methods.

ve.init.Platform.js
* Define abstract methods: getUserLangauge, getSystemPlatform

ve.ui.BoldBUttonTool.js, ve.ui.IndentButtonTool.js, ve.ui.ItalicButtonTool.js,
ve.ui.LinkButtonTool.js, ve.ui.OutdentButtonTool.js, ve.ui.RedoButtonTool.js,
ve.ui.UndoButtonTool.js
* Add registration for command triggers.

ve.Surface.js
* Methodize loading of triggers.
* Bind register event to ve.triggerRegistry to allow lazy loading of triggers.

ve.ui.Tool.js
* Init pre-registered tooltip messages.
* Update tool titles when new triggers are loaded.

ve.CommandRegistry.js
* Remove command registration ( moved to buttons themselves )

ve.TriggerRegistry.js
* New class for registering triggers.

ve.init.mw.ViewPageTarget.js
* Changed instance of unindent command to outdent.

Change-Id: Id8580a3f81aac751db0b7482422a73912648dfed
2013-01-17 15:28:32 -08:00
Translation updater bot 66cc9924d8 Localisation updates from http://translatewiki.net.
Change-Id: I1f4f17c7f1e7ef53cc0bb8f24a907e215c364e48
2013-01-16 20:38:15 +00:00
Translation updater bot 763a65ed93 Localisation updates from http://translatewiki.net.
Change-Id: If669449da461d18437a6517d935f6f3c58f33e48
2013-01-13 20:41:52 +00:00
Translation updater bot b7ed6cebde Localisation updates from http://translatewiki.net.
Change-Id: I7f8958a151049fef2bbbd94e3213ff12f14221ac
2013-01-12 20:30:38 +00:00
jenkins-bot 0b3b12950b Merge "Trivial wording change to disclaimer meant to be done before launch" 2013-01-08 20:36:01 +00:00
Translation updater bot 3a14ed48e9 Localisation updates from http://translatewiki.net.
Change-Id: Iab61dbf42cb2dc61bebc9960116229e249eb1d06
2013-01-06 20:16:38 +00:00
Translation updater bot ee307cd871 Localisation updates from http://translatewiki.net.
Change-Id: I0f6a8f9f101d8ba5b2382cdc1ea7e6cd1ad28499
2013-01-01 20:27:16 +00:00
Translation updater bot 19da918cc2 Localisation updates from http://translatewiki.net.
Change-Id: I78cbf7250e1475ed145055e5c2d590af042817a1
2012-12-31 21:15:55 +00:00
Translation updater bot d3518f3793 Localisation updates from http://translatewiki.net.
Change-Id: I50ab1323ccc7192465e5cefa71a5abb30ab5dc4c
2012-12-30 20:21:52 +00:00
Translation updater bot d0cad8628e Localisation updates from http://translatewiki.net.
Change-Id: I12838f56addebc08a200a9c626d97891b95ff7eb
2012-12-29 19:49:51 +00:00
Translation updater bot b144746517 Localisation updates from http://translatewiki.net.
Change-Id: If55ce5814a3471480e0acedc87905a98ecf594fd
2012-12-28 21:22:37 +00:00