mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-quickstart.git
synced 2025-10-03 04:30:57 +08:00
feat: add i18n example, closes #377
This commit is contained in:
parent
1f96067f5b
commit
0cc7681eb4
4 changed files with 11 additions and 0 deletions
3
languages/de/quickstart.json
Normal file
3
languages/de/quickstart.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"info": "Dies ist eine Übersetzungszeichenkette, sie wird in die Sprache des Benutzers übersetzt. Siehe den Ordner 'languages' im Stammverzeichnis dieses Plugins."
|
||||
}
|
3
languages/en-GB/quickstart.json
Normal file
3
languages/en-GB/quickstart.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"info": "This is a translation string, it gets translated to the users language. See the languages folder in the root of this plugin."
|
||||
}
|
3
languages/en-US/quickstart.json
Normal file
3
languages/en-US/quickstart.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"info": "This is a translation string, it gets translated to the users language. See the languages folder in the root of this plugin."
|
||||
}
|
|
@ -2,4 +2,6 @@
|
|||
<p>This is a custom page.</p>
|
||||
<p>Your uid is {uid}!</p>
|
||||
<p id="last-p"></p>
|
||||
<hr/>
|
||||
<p>[[quickstart:info]]</p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue