Skip to content

Commit

Permalink
0.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickpulver committed Aug 14, 2022
1 parent 2e647b1 commit c1ffd4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ buildscript {
dependencies {
//…
classpath 'com.appswithlove.loco:loco:0.2.10'
classpath 'com.appswithlove.loco:loco:0.2.11'
}
}
```
Expand All @@ -48,20 +48,19 @@ Single loco configuration (most common):
Loco {
apiKey = 'YOUR_API_KEY'
lang = ['de', 'fr'] // add as many languages as you want, they need to exist on localise.biz
defLang = 'de'
// one language that will result as the default language and be put in values/strings.xml
resDir = "$projectDir/src/main/res"
defLang = 'de' // one language that will result as the default language and be put in values/strings.xml
saveDefLangDuplicate = false // default (false): defLang will only be saved in values folder. If set to true, the defLang will also be saved in the specific folder (such as values-en)
placeholderPattern = null // optional; regex pattern with leading ~, default -> null
fileName = "strings" // optional; customise file name
hideComments = false // optional; hide comments & loco metadata
tags = 'Android,!iOS'
// optional; filter assets by comma-separated tag names. Match any tag with `*` and negate tags by prefixing with `!`. Whitespaces need to be replaced with _ (e.g. "Some tag" becomes "Some_tag").
tags = 'Android,!iOS' // optional; filter assets by comma-separated tag names. Match any tag with `*` and negate tags by prefixing with `!`. Whitespaces need to be replaced with _ (e.g. "Some tag" becomes "Some_tag").
fallbackLang = 'en' // optional;, fallback language when not present
orderByAssetId = false // optional; order assets alphabetically by Asset ID
status = "translated" // optional; filter assets by status. Negate values by prefixing with !. e.g. "translated", or "!fuzzy".
saveDefLangDuplicate = false // default: defLang will only be saved in values folder. If set to true, the defLang will also be saved in the specific folder (such as values-en)
resourceNamePrefix = null // optional: string prefix for all resource names (default: null, no prefix)
ignoreMissingTranslationWarnings = false // optional: use at your own risk, removes linting issues of missing translations
index = null // optional: pass in a lookup key such as "id" or "text"
}
```

Expand Down Expand Up @@ -167,7 +166,7 @@ buildscript {
...
}
dependencies{
classpath 'com.appswithlove.loco:loco:0.2.10'
classpath 'com.appswithlove.loco:loco:0.2.11'
...
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.19.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.21.0'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GROUP=com.appswithlove.loco
POM_ARTIFACT_ID=loco
VERSION_NAME=0.2.10
VERSION_NAME=0.2.11

POM_NAME=loco-android
POM_DESCRIPTION=A plugin to synchronize Loco translations with Android project
Expand Down

0 comments on commit c1ffd4e

Please sign in to comment.