parent
3528e2e6cc
commit
d2bd18e322
34
CHANGELOG.md
34
CHANGELOG.md
@ -3,27 +3,29 @@
|
|||||||
# easy-i18n Changelog
|
# easy-i18n Changelog
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Character unescaping for '.properties' files
|
||||||
|
|
||||||
## [2.0.0]
|
## [2.0.0]
|
||||||
### BREAKING CHANGES
|
### BREAKING CHANGES
|
||||||
- Translation file pattern matcher needs to be updated to <kbd>\*.*</kbd> or equivalent wildcard rule
|
- Translation file pattern matcher needs to be updated to <kbd>\*.*</kbd> or equivalent wildcard rule
|
||||||
- I18n key nesting will now escape every delimiter within a section layer (can be inverted via option)
|
- I18n key nesting will now escape every delimiter within a section layer (can be inverted via option)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Filter functionality for translations with missing values
|
- Filter functionality for translations with missing values
|
||||||
- Full keyboard shortcut support inside tool-window
|
- Full keyboard shortcut support inside tool-window
|
||||||
- Support for dots within key nodes in YAML files
|
- Support for dots within key nodes in YAML files
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Improve marking nodes with missing values in tree-view
|
- Improve marking nodes with missing values in tree-view
|
||||||
- Key completion inside editor suggests all keys without any logic
|
- Key completion inside editor suggests all keys without any logic
|
||||||
- Translation file pattern uses wildcard matcher instead of regex
|
- Translation file pattern uses wildcard matcher instead of regex
|
||||||
- Improve exception handling on IO operations
|
- Improve exception handling on IO operations
|
||||||
- Update Qodana to latest version
|
- Update Qodana to latest version
|
||||||
- Allow tool-window rendering in dumb mode
|
- Allow tool-window rendering in dumb mode
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- First row inside table view is not editable
|
- First row inside table view is not editable
|
||||||
- Key focus within tree or table view after translation change
|
- Key focus within tree or table view after translation change
|
||||||
|
|
||||||
## [1.7.1]
|
## [1.7.1]
|
||||||
|
@ -5,6 +5,7 @@ import de.marhali.easyi18n.model.Translation;
|
|||||||
import de.marhali.easyi18n.model.TranslationData;
|
import de.marhali.easyi18n.model.TranslationData;
|
||||||
import de.marhali.easyi18n.util.StringUtil;
|
import de.marhali.easyi18n.util.StringUtil;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringEscapeUtils;
|
||||||
import org.apache.commons.lang.math.NumberUtils;
|
import org.apache.commons.lang.math.NumberUtils;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -48,7 +49,7 @@ public class PropertiesMapper {
|
|||||||
} else if(NumberUtils.isNumber(content)) {
|
} else if(NumberUtils.isNumber(content)) {
|
||||||
properties.put(simpleKey, NumberUtils.createNumber(content));
|
properties.put(simpleKey, NumberUtils.createNumber(content));
|
||||||
} else {
|
} else {
|
||||||
properties.put(simpleKey, content);
|
properties.put(simpleKey, StringEscapeUtils.unescapeJava(content));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user