mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-07-03 02:36:46 +03:00
Made possible to save translations into file.
Minor fixes...
This commit is contained in:
@@ -82,10 +82,10 @@ class BundleService {
|
||||
}
|
||||
|
||||
private String getKey(String line) {
|
||||
return line.substring(0, line.indexOf('='))
|
||||
return line.substring(0, line.indexOf('=')).trim()
|
||||
}
|
||||
|
||||
private String getValue(String line) {
|
||||
return line.substring(line.indexOf('=') + 1)
|
||||
return line.substring(line.indexOf('=') + 1).trim()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user