bpmn-io / dmn-js

View and edit DMN diagrams in the browser.
https://bpmn.io/toolkit/dmn-js/
Other
289 stars 137 forks source link

Certain dmn-js ui labels are not translatable #793

Closed kevin-fong closed 10 months ago

kevin-fong commented 10 months ago

Describe the Bug

Certain dmn-js user interface labels are not translatable.

image

Steps to Reproduce

Steps to reproduce the behavior (using Windows PowerShell):

  1. git clone https://github.com/bpmn-io/dmn-js.git
  2. cd .\dmn-js\
  3. 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)
  4. npm install
  5. npm run start:translate (this will open the "Karma DEBUG RUNNER" in a web browser)
  6. Enter the Decision Editor for the "Season decision" Decision.
  7. 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)".
  8. Hover your cursor over the "+" character/symbol. Notice that the tooltip that appears is "Add Rule" and not "tr(Add Rule)".
  9. Enter the Literal Express Editor for the "It's lit" Literal Expression.
  10. Delete the value that is in the "tr(Variable Name:)" text input. Notice that the placeholder value is "name" and not "tr(name)".

Expected Behavior

The following dmn-js user interface labels should be translatable:

Environment

Please complete the following information: