Skip to content

Commit 25727d6

Browse files
fix: translations from file
1 parent 0836c84 commit 25727d6

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

configurator/lib/src/scopes/scope.dart

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ abstract class ConfigScope {
4040
padding: {for (var e in config.padding) e.name: e.value},
4141
margins: {for (var e in config.margins) e.name: e.value},
4242
colors: {for (var e in config.colors) e.name: e.value},
43-
translations: {for (var e in config.i18n) e.name: e.value},
43+
translations: Map.from(
44+
I18nParser.parse(
45+
strings: config.i18n,
46+
),
47+
),
4448
);
4549
}
4650

configurator/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: configurator
22
description: A new Flutter package project.
3-
version: 1.0.5
3+
version: 1.0.7
44
homepage:
55

66
environment:

configurator_flutter/.flutter-plugins

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a generated file; do not edit or check into version control.
2-
path_provider=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider-2.1.2/
3-
path_provider_android=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/
4-
path_provider_foundation=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/
2+
path_provider=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider-2.1.3/
3+
path_provider_android=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/
4+
path_provider_foundation=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/
55
path_provider_linux=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
66
path_provider_windows=/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2024-02-19 15:19:46.328290","version":"3.19.0"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_android-2.2.4/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/cgiuliani/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2024-05-22 13:55:56.785757","version":"3.19.0"}

configurator_flutter/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: configurator_flutter
22
description: A new Flutter package project.
3-
version: 1.0.5
3+
version: 1.0.7
44
homepage:
55

66
environment:
@@ -31,7 +31,7 @@ dependencies:
3131
git:
3232
url: [email protected]:camrongiuliani/configurator.git
3333
path: configurator
34-
ref: 1.0.5
34+
ref: 1.0.7
3535

3636
dev_dependencies:
3737
flutter_test:

0 commit comments

Comments
 (0)