Coder Social home page Coder Social logo

bpmn-js-i18n's Introduction

bpmn-js-i18n's People

Contributors

alwaysnoobcoder avatar barmac avatar corocoto avatar daniloakamine avatar eliteuser avatar garystubbings avatar issovic avatar mariohmol avatar nikku avatar oguzeroglu avatar omespef1 avatar philippfromme avatar qiudaoke avatar rob2universe avatar robin40 avatar tomash87 avatar zhangzhaoaaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bpmn-js-i18n's Issues

Provide `bpmn-js-i18n` as an npm package

Is your feature request related to a problem? Please describe.

I suppose that providing bpmn-js-i18n as an npm package can resolve the cases when UI can gloabally change (including text description), and you need to download it's new locale (translation) version. One thing that you should do - check bpmn-js-i18n version and download it, if it necessary. Instead of going to the repo and copy content of related js file and paste it into your project.

It also useful for projects which have an oppotunity to switch between multiple locales. You shouldn't check each properly file and copy it from repo. You can also update npm package version, and take necessary files from it.

Use orthography checker on CI or as a pre-commit hook

Is your feature request related to a problem? Please describe.

This feature allows contributors detect word typos or orthography errors on earlier step. People, who will use or already using this package, reduce the percent to meet with these problems.

Describe the solution you'd like

As example, we can use https://github.com/hcodes/yaspeller library to check and detect orthography errors. But the problem of this package is that it only support English, Russian and Ukrainian languages right now.

Anyway, we can do research and find an alternative packages that can cover more languages.

"Append TextAnnotation" title doesn't translate fully

Describe the Bug

I try to translate "Append TextAnnotation" to russian locale via additionalModules property:

additionalModules: [
  {
     translate: ['value', customTranslate(ruLocale)],
   },
],

The problem is that the word TextAnnotation doesn't translate, even if I put these properties into my locale file. It's that I mean:

// ru.js
export default {
...
 'Append TextAnnotation': 'Добавить комментарий',
'Text Annotation': 'Комментарий',
'TextAnnotation': 'Комментарий',
}

Steps to Reproduce

  1. Use additionalModules property with translate block:
additionalModules: [
  {
     translate: ['value', customTranslate([LOCALE FILE])],
   },
],
  1. Add translations for "Append TextAnnotation", "Text Annotation" and "TextAnnotation" text blocks into your locale file
  2. Check result:

image

Expected Behavior

"Append TextAnnotation" should translated fully, but not only "Append" word.

Environment

  • Host (Browser/Node version), if applicable: Chrome 114.0.5735.198
  • OS: macOS Ventura v.13.4.1
  • Library version: Latest

it.js contains unescaped single quotes

Describe the Bug
it.js contains unescaped single quotes in lines: 67, 77, 78

Steps to Reproduce

try to parse file or check it in IDE

Expected Behavior

valid file

Environment

N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.