You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'The parent directory containing all the `*.lproj` subdirectories in which the `.strings` files reside',
72
+
description: 'The parent directory containing all the `*.lproj` subdirectories in which the source `.strings` files reside',
73
73
type: String,
74
74
verify_block: procdo |value|
75
75
UI.user_error!("`source_parent_dir` should be a path to an existing directory, but found `#{value}`.")unlessFile.directory?(value)
76
76
UI.user_error!("`source_parent_dir` should contain at least one `.lproj` subdirectory, but `#{value}` does not contain any.")ifDir.glob('*.lproj',base: value).empty?
description: 'The path to the `<base-locale>.lproj/<target-tablename>.strings` file(s) for which we want to extract the keys to. ' \
86
-
+ 'Those files containing the originals (typical `en` or `Base` locale) will be used to determine which keys to extract from the `source_tablename`, ' \
87
-
+ 'and into each target file in each of the other `*.lproj` sibling folders',
86
+
+ 'Those files, containing the originals (typical `en` or `Base` locale), will be used to determine which keys to extract from the `source_tablename`, ' \
87
+
+ 'and the target file path(s) in which to extract the translations will be determined from those path, writing them in the file with the same basename ' \
88
+
+' in each of the other `*.lproj` sibling folders of those target paths',
88
89
type: Array,
89
90
verify_block: procdo |values|
90
91
UI.user_error!('`target_original_files` must contain at least one path to an original `.strings` file.')ifvalues.empty?
0 commit comments