Skip to content

Commit

Permalink
Release 1.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
koral-- committed Jan 4, 2019
1 parent 8ae6af2 commit 89c7c9c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.15
- added support for empty plural values
- dependencies versions bump

### 1.0.14
- fixed `IF_TAGS_ABSENT` tag escaping strategy

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Generation has to be invoked as additional gradle task. Java 1.8 is required.
In whichever `build.gradle` file.
```groovy
plugins {
id 'pl.droidsonroids.localization' version '1.0.14'
id 'pl.droidsonroids.localization' version '1.0.15'
}
```
Note: exact version number must be specified, `+` cannot be used as wildcard.
Expand All @@ -40,7 +40,7 @@ Note: exact version number must be specified, `+` cannot be used as wildcard.
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'pl.droidsonroids.gradle.localization:android-gradle-localization-plugin:1.0.14'
classpath 'pl.droidsonroids.gradle.localization:android-gradle-localization-plugin:1.0.15'
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repositories {

dependencies {
implementation gradleApi()
implementation 'org.codehaus.groovy:groovy:2.5.4'
implementation 'org.codehaus.groovy:groovy:2.5.5'
implementation 'org.marketcetera.fork:commons-csv:3.0.12'
implementation 'org.apache.poi:poi-ooxml-schemas:4.0.1'
implementation 'org.apache.poi:poi-ooxml:4.0.1'
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ParserEngine {
continue
if (mConfig.handleEmptyTranslationsAsDefault && builder.mQualifier != mConfig.defaultColumnName)
continue
if (!mConfig.allowEmptyTranslations)
if (!mConfig.allowEmptyTranslations && resourceType != PLURAL)
throw new IllegalArgumentException("$name is not translated to locale $builder.mQualifier, row #${i + 1}")
} else {
if (!translatable && !mConfig.allowNonTranslatableTranslation && builder.mQualifier != mConfig.defaultColumnName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ app ,Application, ,,false
cow[one] ,cow ,krowa
file ,File ,"Plik" ,file label ,
days[],monday,,,false
cow[other],cows ,krowy,comment
cow[few],,krowy,comment
cow[other],cows,krów,comment
days[],tuesday,,,
days[],wednesday,,,

Expand Down

0 comments on commit 89c7c9c

Please sign in to comment.