Skip to content

Commit

Permalink
fix: rm i18n changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikfeininger committed Mar 7, 2022
1 parent 6ff7283 commit 6a1bcda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/wdi5-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function _createWdioUI5KeyFromSelector(selector: wdi5Selector): string {
const _selector = selector.selector
const wdi5_ui5_key = `${orEmpty(_selector.id)}_${orEmpty(_selector.viewName)}_${orEmpty(
_selector.controlType
)}_${orEmpty(JSON.stringify(_selector.bindingPath))}_${orEmpty(JSON.stringify(_selector.i18NText))}_${orEmpty(
)}_${orEmpty(JSON.stringify(_selector.bindingPath))}_${orEmpty(JSON.stringify(_selector.I18NText))}_${orEmpty(
_selector.labelFor
)}_${orEmpty(JSON.stringify(_selector.properties))}`.replace(/[^0-9a-zA-Z]+/, "")

Expand All @@ -151,14 +151,14 @@ function _verifySelector(wdi5Selector: wdi5Selector) {
wdi5Selector.selector.hasOwnProperty("viewName") ||
wdi5Selector.selector.hasOwnProperty("bindingPath") ||
wdi5Selector.selector.hasOwnProperty("controlType") ||
wdi5Selector.selector.hasOwnProperty("i18NText") ||
wdi5Selector.selector.hasOwnProperty("I18NText") ||
wdi5Selector.selector.hasOwnProperty("labelFor") ||
wdi5Selector.selector.hasOwnProperty("properties")
) {
return true
}
Logger.error(
"Specified selector is not valid. Please use at least one of: 'id, viewName, bindingPath, controlType, i18NText, labelFor, properties' -> abort"
"Specified selector is not valid. Please use at least one of: 'id, viewName, bindingPath, controlType, I18NText, labelFor, properties' -> abort"
)
return false
}
Expand Down

0 comments on commit 6a1bcda

Please sign in to comment.