mirror of
https://github.com/chenasraf/i18n.git
synced 2026-05-18 01:39:00 +00:00
add triple quotes
- replace i69n to i18n
This commit is contained in:
@@ -4,6 +4,6 @@ builders:
|
||||
yamlBasedBuilder:
|
||||
import: "package:i18n/builder.dart"
|
||||
builder_factories: ["yamlBasedBuilder"]
|
||||
build_extensions: {".i69n.yaml": [".i18n.dart"]}
|
||||
build_extensions: {".i18n.yaml": [".i18n.dart"]}
|
||||
build_to: source
|
||||
auto_apply: root_package
|
||||
@@ -115,9 +115,9 @@ void renderTodoItem(TodoItem todo, StringBuffer output) {
|
||||
} else {
|
||||
if (k.contains('(')) {
|
||||
// function
|
||||
output.writeln('\tString ${k} => "${v}";');
|
||||
output.writeln('\tString ${k} => """${v}""";');
|
||||
} else {
|
||||
output.writeln('\tString get ${k} => "${v}";');
|
||||
output.writeln('\tString get ${k} => """${v}""";');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user