Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

45 righe
1.3 KiB

  1. // ruleid: frappe-translation-empty-string
  2. __("")
  3. // ruleid: frappe-translation-empty-string
  4. __('')
  5. // ok: frappe-translation-js-formatting
  6. __('Welcome {0}, get started with ERPNext in just a few clicks.', [full_name]);
  7. // ruleid: frappe-translation-js-formatting
  8. __(`Welcome ${full_name}, get started with ERPNext in just a few clicks.`);
  9. // ok: frappe-translation-js-formatting
  10. __('This is fine');
  11. // ok: frappe-translation-trailing-spaces
  12. __('This is fine');
  13. // ruleid: frappe-translation-trailing-spaces
  14. __(' this is not ok ');
  15. // ruleid: frappe-translation-trailing-spaces
  16. __('this is not ok ');
  17. // ruleid: frappe-translation-trailing-spaces
  18. __(' this is not ok');
  19. // ok: frappe-translation-js-splitting
  20. __('You have {0} subscribers in your mailing list.', [subscribers.length])
  21. // todoruleid: frappe-translation-js-splitting
  22. __('You have') + subscribers.length + __('subscribers in your mailing list.')
  23. // ruleid: frappe-translation-js-splitting
  24. __('You have' + 'subscribers in your mailing list.')
  25. // ruleid: frappe-translation-js-splitting
  26. __('You have {0} subscribers' +
  27. 'in your mailing list', [subscribers.length])
  28. // ok: frappe-translation-js-splitting
  29. __("Ctrl+Enter to add comment")
  30. // ruleid: frappe-translation-js-splitting
  31. __('You have {0} subscribers \
  32. in your mailing list', [subscribers.length])