framework/migrations
Toby Zerner 8b162344cd Lay the groundwork for translation & refactor asset compilation
Ditched the idea of having language packs as extensions. Reasoning:

1. Because we use machine keys for translations (rather than English
keys), extensions need to be able to define default translations. If
English translations are to be included in extensions and not in a
language pack extension, then it doesn’t make sense to have other
languages as language pack extensions. Inconsistency → complexity.

2. Translations should maintain version parity with their respective
extensions. There’s no way to do this if extension translations are
external to the extension.

Instead, localisation will be a core effort, as well as a per-extension
effort. Translators will be encouraged to send PRs to core + extensions.

In core, each locale has a directory containing three files:
- translations.yml
- config.js: contains pluralisation logic for the JS app, as well as
moment.js localisation if necessary
- config.php: contains pluralisation logic for the PHP app

Extensions can use the Flarum\Extend\Locale extender to add/override
translations/config to a locale.

Asset compilation has been completely refactored with a better
architecture. Translations + config.js are compiled and cached for the
currently active locale.
2015-06-10 14:23:56 +09:30
..
2015_02_24_000000_create_access_tokens_table.php Improvements to change/forgot password 2015-05-27 16:25:44 +09:30
2015_02_24_000000_create_activity_table.php New user activity feed API. 2015-05-20 12:30:27 +09:30
2015_02_24_000000_create_config_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_discussions_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_email_tokens_table.php Improve email changing/confirmation stuff 2015-05-27 16:24:54 +09:30
2015_02_24_000000_create_groups_table.php Explicitly specify length for string columns. 2015-05-19 00:20:36 +02:00
2015_02_24_000000_create_notifications_table.php Simplify and improve notifications API. 2015-05-20 12:24:01 +09:30
2015_02_24_000000_create_password_tokens_table.php Improvements to change/forgot password 2015-05-27 16:25:44 +09:30
2015_02_24_000000_create_permissions_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_posts_table.php Really rough fulltext driver implementation 2015-06-04 11:11:56 +09:30
2015_02_24_000000_create_users_discussions_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_users_groups_table.php Fix migrations to comply with PSR-2 2015-05-19 01:22:09 +02:00
2015_02_24_000000_create_users_table.php Lay the groundwork for translation & refactor asset compilation 2015-06-10 14:23:56 +09:30