Certain dmn-js user interface labels are not translatable.
Decision Editor > "Move rule" (a html title attribute's value)
Decision Editor -> "Add Rule" (a html title attribute's value)
Literal Expression Editor -> Variable Name -> "name" (a html placeholder attribute's value)
Steps to Reproduce
Steps to reproduce the behavior (using Windows PowerShell):
git clone https://github.com/bpmn-io/dmn-js.git
cd .\dmn-js\
git checkout tags/v14.1.5 (I could not get the develop or master branches to build in my local environment; I'm not a node developer and I don't think I'm properly setup)
npm install
npm run start:translate (this will open the "Karma DEBUG RUNNER" in a web browser)
Enter the Decision Editor for the "Season decision" Decision.
Hover your cursor over the "1" table cell in the leftmost table column and then hover your cursor over the "grid" symbol that appears. Notice that the tooltip that appears is "Move rule" and not "tr(Move rule)".
Hover your cursor over the "+" character/symbol. Notice that the tooltip that appears is "Add Rule" and not "tr(Add Rule)".
Enter the Literal Express Editor for the "It's lit" Literal Expression.
Delete the value that is in the "tr(Variable Name:)" text input. Notice that the placeholder value is "name" and not "tr(name)".
The "Move rule" bug traces back to here, I think (it is just a literal value and doesn't use the translation function).
The "Add Rule" bug traces back to here, I think (it is just a literal value and doesn't use the translation function).
The "name" bug is here, I think (it is just a literal value and doesn't use the translation function).
Expected Behavior
The following dmn-js user interface labels should be translatable:
Decision Editor > "Move rule" (a html title attribute's value)
Decision Editor -> "Add Rule" (a html title attribute's value)
Literal Expression Editor -> Variable Name -> "name" (a html placeholder attribute's value)
Environment
Please complete the following information:
Browser: Google Chrome (Version 118.0.5993.72), Microsoft Edge for Business (Version 117.0.2045.60)
Describe the Bug
Certain dmn-js user interface labels are not translatable.
Steps to Reproduce
Steps to reproduce the behavior (using Windows PowerShell):
git clone https://github.com/bpmn-io/dmn-js.git
cd .\dmn-js\
git checkout tags/v14.1.5
(I could not get the develop or master branches to build in my local environment; I'm not a node developer and I don't think I'm properly setup)npm install
npm run start:translate
(this will open the "Karma DEBUG RUNNER" in a web browser)Expected Behavior
The following dmn-js user interface labels should be translatable:
Environment
Please complete the following information: