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
# @param [Hash] library Hash describing the library to merge. The Hash should contain the following keys:
104
113
# - `:library`: The human readable name of the library, used to display in console messages
105
114
# - `:strings_path`: The path to the strings.xml file of the library to merge into the main one
106
-
# - `:exclusions`: An array of strings keys to exclude during merge. Any of those keys from the library's `strings.xml` will be skipped and won't be merged into the main one.
115
+
# - `:exclusions`: An array of strings keys to exclude during merge. Any of those keys from the
116
+
# library's `strings.xml` will be skipped and won't be merged into the main one.
117
+
# - `:source_id`: An optional `String` which will be added as the `a8c-src-lib` XML attribute
118
+
# to strings coming from this library, to help identify their source in the merged file.
119
+
# - `:add_ignore_attr`: If set to true, will add `tools:ignore="UnusedResources"` to merged strings.
120
+
#
107
121
# @return [Boolean] True if at least one string from the library has been added to (or has updated) the main strings file.
122
+
#
108
123
defself.merge_lib(main,library)
109
124
UI.message("Merging #{library[:library]} strings into #{main}")
0 commit comments