Skip to content
Permalink
Browse files

Fixed core.js test.

  • Loading branch information...
dennybresch authored and thorsteneckel committed Jul 5, 2019
1 parent 0a819f8 commit 5e0e6bb8eabb684a206500177b3eb36253fe736c
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/assets/tests/core.js
@@ -366,7 +366,7 @@ test('i18n', function() {
equal(translated, '<kbd>123</kbd> xxx test', 'en-us - §%s§ %s')

translated = App.i18n.translateContent('Here you can search for tickets, customers and organizations. Use the wildcard §*§ to find everything. E. g. §smi*§ or §rosent*l§. You also can use ||double quotes|| for searching phrases §"some phrase"§.')
equal(translated, 'Here you can search for ticket, customers and organizations. Use the wildcard <kbd>*</kbd> to find everything. E. g. <kbd>smi*</kbd> or <kbd>rosent*l</kbd>. You also can use <i>double quotes</i> for searching phrases <kbd>&quot;some phrase&quot;</kbd>.', 'en-us - §§ §§ §§ || §§')
equal(translated, 'Here you can search for tickets, customers and organizations. Use the wildcard <kbd>*</kbd> to find everything. E. g. <kbd>smi*</kbd> or <kbd>rosent*l</kbd>. You also can use <i>double quotes</i> for searching phrases <kbd>&quot;some phrase&quot;</kbd>.', 'en-us - §§ §§ §§ || §§')

translated = App.i18n.translateContent('//%s// %s test', 123, 'xxx')
equal(translated, '<del>123</del> xxx test', 'en-us - //%s// %s')

0 comments on commit 5e0e6bb

Please sign in to comment.
You can’t perform that action at this time.