From 0a819f8d3cbd7f3dde4ab0a3c1432732208d7953 Mon Sep 17 00:00:00 2001 From: Denny Bresch Date: Thu, 4 Jul 2019 15:50:05 +0200 Subject: [PATCH] Fixes obsolete texts or descriptions - which are no longer in use --- db/seeds/settings.rb | 2 +- public/assets/tests/core.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/seeds/settings.rb b/db/seeds/settings.rb index 19c41da42..1a0ebcb0e 100644 --- a/db/seeds/settings.rb +++ b/db/seeds/settings.rb @@ -46,7 +46,7 @@ Setting.create_if_not_exists( title: 'Maintenance Login', name: 'maintenance_login', area: 'Core::WebApp', - description: 'Put a message on the login page. To change it, click on the text area below and change it inline.', + description: 'Put a message on the login page. To change it, click on the text area below and change it in-line.', options: {}, state: false, preferences: { diff --git a/public/assets/tests/core.js b/public/assets/tests/core.js index 1dc17249f..d2e77510e 100644 --- a/public/assets/tests/core.js +++ b/public/assets/tests/core.js @@ -365,7 +365,7 @@ test('i18n', function() { translated = App.i18n.translateContent('§%s§ %s test', 123, 'xxx') equal(translated, '123 xxx test', 'en-us - §%s§ %s') - translated = App.i18n.translateContent('Here you can search for ticket, 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"§.') + 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 * to find everything. E. g. smi* or rosent*l. You also can use double quotes for searching phrases "some phrase".', 'en-us - §§ §§ §§ || §§') translated = App.i18n.translateContent('//%s// %s test', 123, 'xxx')