Skip to content

Commit

Permalink
Add flags extension
Browse files Browse the repository at this point in the history
This adds support for the official flags extension and bumps up the
build to #2.
  • Loading branch information
Rody Molenaar committed Sep 22, 2015
1 parent 8f6a78c commit 819d79d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ This extension uses the French language extension as a base for continuity.

### Version

- 0.1.0-dev (Build 1)
- 0.1.0-dev (Build 2)
- Released on September 14, 2015

### Compatibility

- [Flarum](https://github.com/flarum/core) (Core) 0.1.0-beta.2
- [Likes](https://github.com/flarum/flags) 0.1.0-beta.2
- [Likes](https://github.com/flarum/likes) 0.1.0-beta.2
- [Lock](https://github.com/flarum/lock) 0.1.0-beta.2
- [Mentions](https://github.com/flarum/mentions) 0.1.0-beta.2
Expand Down
2 changes: 1 addition & 1 deletion flarum.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Dutch",
"description": "Localize Flarum and its extensions into Dutch.",
"keywords": [],
"version": "0.1.0-dev-build.1",
"version": "0.1.0-dev-build.2",
"author": {
"name": "Rody Molenaar",
"email": "[email protected]",
Expand Down
8 changes: 8 additions & 0 deletions locale/flags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
flags:
reason_off_topic: Off-topic
reason_spam: Spam
reason_inappropriate: Ongepast
reason_other: Overig
flagged_by: "{username} gerapporteerd"
flagged_by_with_reason: "{username} gerapporteerd als {reason}"
no_flags: Niets gerapporteerd
1 change: 1 addition & 0 deletions src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function listen(Dispatcher $events)
$event->addJsFile('nl', __DIR__.'/../locale/core.js');
$event->addConfig('nl', __DIR__.'/../locale/core.php');
$event->addTranslations('nl', __DIR__.'/../locale/core.yml');
$event->addTranslations('nl', __DIR__.'/../locale/flags.yml');
$event->addTranslations('nl', __DIR__.'/../locale/likes.yml');
$event->addTranslations('nl', __DIR__.'/../locale/lock.yml');
$event->addTranslations('nl', __DIR__.'/../locale/mentions.yml');
Expand Down

0 comments on commit 819d79d

Please sign in to comment.