Skip to content

Commit

Permalink
0.1.5 - Adds fallback language
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickpulver committed Aug 4, 2020
1 parent 7222f40 commit d487ac0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 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.1.4'
classpath 'com.appswithlove.loco:loco:0.1.5'
}
}
```
Expand All @@ -38,12 +38,13 @@ apply plugin: 'com.appswithlove.loco'
```groovy
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
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"
placeholderPattern = null // optional regex pattern with leading ~, default -> null
placeholderPattern = null // optional, regex pattern with leading ~, default -> null
hideComments = false // optionally hide comments & loco metadata
tags = false // optionally filter assets by comma-separated tag names. Match any tag with `*` and negate tags by prefixing with `!`
tags = 'Android, !iOS' // optional, filter assets by comma-separated tag names. Match any tag with `*` and negate tags by prefixing with `!`
fallbackLang = 'en' // optional, fallback language when not present
}
```
Expand Down Expand Up @@ -88,7 +89,7 @@ buildscript {
...
}
dependencies{
classpath 'com.appswithlove.loco:loco:0.1.4'
classpath 'com.appswithlove.loco:loco:0.1.5'
...
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/meta.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
meta = [:]
meta.versionName = '0.1.4'
meta.versionName = '0.1.5'
meta.group = 'com.appswithlove.loco'
meta.pomArtifactId = 'loco'
meta.javaCompatibility = 1.6
Expand Down

0 comments on commit d487ac0

Please sign in to comment.