mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-07-03 02:36:46 +03:00
Added test functionality (getting list of bundles with translations).
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package by.prominence.translations
|
||||
|
||||
class Bundle {
|
||||
|
||||
String name
|
||||
List<File> propertiesList = new ArrayList<>()
|
||||
|
||||
public void addPropertyFile(File file) {
|
||||
propertiesList.add(file)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package by.prominence.translations
|
||||
|
||||
class BundleProperties {
|
||||
|
||||
Bundle bundle
|
||||
Properties properties
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user