add example locale files for the different configuration options

This commit is contained in:
Marcel Haßlinger 2021-07-20 11:31:10 +02:00
parent 7ecba11199
commit 1be0679f18
12 changed files with 117 additions and 0 deletions

View File

@ -7,6 +7,7 @@
- Basic support for json array values
- Settings option to opt-out code assistance inside editor
- Support key completion and annotation for Kotlin language
- Example locale files for all configuration options
### Changed
- Update dependencies

View File

@ -48,6 +48,8 @@ Most common use case is for translating Webapps or simple Java Applications. Tra
- Select the created directory (optional: define the preferred locale to view) and press Ok
- Translations can now be created / edited or deleted
Examples for the configuration can be found in the [/example](https://github.com/marhali/easy-i18n/tree/main/example) folder.
---
Plugin based on the [IntelliJ Platform Plugin Template][template].

View File

@ -0,0 +1,26 @@
{
"alpha": {
"first": "Beispiel Übersetzung",
"second": "Andere Übersetzung"
},
"beta": {
"title": "Ein Titel",
"nested": {
"title": "Ein verschachtelter Titel"
}
},
"gamma": {
"title": "Gamma Titel",
"array": {
"simple": [
"Erstes Element",
"Zweites Element"
],
"escaped": [
"Erstes;Element",
"Zweites Element",
"Drittes;Element"
]
}
}
}

View File

@ -0,0 +1,26 @@
{
"alpha": {
"first": "example translation",
"second": "another translation"
},
"beta": {
"title": "some title",
"nested": {
"title": "some nested title"
}
},
"gamma": {
"title": "gamma title",
"array": {
"simple": [
"first element",
"second element"
],
"escaped": [
"first;element",
"second element",
"third;element"
]
}
}
}

View File

@ -0,0 +1,5 @@
{
"subscription": "Abonnement",
"support": "Unterstützung",
"delete": "Löschen"
}

View File

@ -0,0 +1,10 @@
{
"title": [
"Ein",
"array",
"Titel"
],
"login": "Einloggen",
"logout": "Ausloggen",
"register": "Registrieren"
}

View File

@ -0,0 +1,10 @@
{
"username": "Benutzername",
"email": "Email-Adresse",
"address": {
"zip": "Postleitzahl",
"city": "Ort",
"street": "Straße",
"number": "Hausnummer"
}
}

View File

@ -0,0 +1,5 @@
{
"subscription": "Subscription",
"support": "Support",
"delete": "Delete"
}

View File

@ -0,0 +1,10 @@
{
"title": [
"Some",
"array",
"title"
],
"login": "Login",
"logout": "Logout",
"register": "Register"
}

View File

@ -0,0 +1,10 @@
{
"username": "Username",
"email": "Email Address",
"address": {
"zip": "ZIP code",
"city": "City",
"street": "Street",
"number": "House number"
}
}

View File

@ -0,0 +1,6 @@
account.subscription=Abonnement
auth.login=Einloggen
auth.logout=Ausloggen
auth.register=Registrieren
user.email=Email-Adresse
user.username=Benutzername

View File

@ -0,0 +1,6 @@
account.subscription=Subscription
auth.login=Login
auth.logout=Logout
auth.register=Register
user.email=Email Address
user.username=Username