fix sonar findings and translation structure
This commit is contained in:
Vendored
+4
-6
@@ -36,10 +36,8 @@ test('bootstrap status text fades between loading steps and is replaced by the s
|
||||
assert.match(fadingRule, /opacity:\s*0/);
|
||||
assert.match(loader, /statusText\.classList\.add\('is-fading'\)/);
|
||||
assert.match(loader, /statusText\.classList\.remove\('is-fading'\)/);
|
||||
assert.match(loader, /get storage\(\) \{ return globalThis\.Wegwichtel\.I18n\.t\(/);
|
||||
assert.match(loader, /get server\(\) \{ return globalThis\.Wegwichtel\.I18n\.t\(/);
|
||||
assert.match(loader, /get routes\(\) \{ return globalThis\.Wegwichtel\.I18n\.t\(/);
|
||||
assert.match(loader, /get location\(\) \{ return globalThis\.Wegwichtel\.I18n\.t\(/);
|
||||
assert.match(loader, /const stepLabel = step => globalThis\.Wegwichtel\.I18n\.t\(`bootstrap-loader\.steps\.\$\{step\}`\)/);
|
||||
assert.match(loader, /steps\.includes\(step\)/);
|
||||
assert.match(loader, /actionStatus\?\.classList\.add\('is-leaving'\)/);
|
||||
assert.match(loader, /enter\.classList\.add\('is-visible'\)/);
|
||||
assert.match(loader, /const completedSteps = new Set\(\)/);
|
||||
@@ -59,6 +57,6 @@ test('Android start hint distinguishes Chrome from other Android browsers', asyn
|
||||
assert.match(loader, /getElementById\('android-browser-hint'\)/);
|
||||
assert.match(loader, /\/Android\/i/);
|
||||
assert.match(loader, /\/Chrome\\\//i);
|
||||
assert.match(loader, /I18n\.t\("bootstrap-loader\.auf\.diesem\.gerat\.kannst\.du\.bilder\.und"\)/);
|
||||
assert.match(loader, /I18n\.t\("bootstrap-loader\.tipp\.fur\.android\.mit\.chrome\.lassen\.sich"\)/);
|
||||
assert.match(loader, /I18n\.t\("bootstrap-loader\.hints\.chrome"\)/);
|
||||
assert.match(loader, /I18n\.t\("bootstrap-loader\.hints\.android"\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user