mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-14 18:25:11 -04:00
Build 29133839
This commit is contained in:
parent
9ab547d2a9
commit
5f41d23a1a
16 changed files with 3841 additions and 3837 deletions
|
@ -29,8 +29,8 @@ android {
|
||||||
applicationId = "me.lecaro.breakout"
|
applicationId = "me.lecaro.breakout"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 29133750
|
versionCode = 29133839
|
||||||
versionName = "29133750"
|
versionName = "29133839"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary = true
|
useSupportLibrary = true
|
||||||
|
|
File diff suppressed because one or more lines are too long
4
dist/index.html
vendored
4
dist/index.html
vendored
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
// The version of the cache.
|
// The version of the cache.
|
||||||
const VERSION = "29133750";
|
const VERSION = "29133839";
|
||||||
|
|
||||||
// The name of the cache
|
// The name of the cache
|
||||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
"29133750"
|
"29133839"
|
||||||
|
|
|
@ -2,15 +2,19 @@ import {languages} from "./i18n";
|
||||||
|
|
||||||
describe("translation quality checks", () => {
|
describe("translation quality checks", () => {
|
||||||
it("no html, links, puck", () => {
|
it("no html, links, puck", () => {
|
||||||
const badKeys:String[] = []
|
const badKeys: String[] = [];
|
||||||
for (let { value: languageCode, strings } of languages) {
|
for (let { value: languageCode, strings } of languages) {
|
||||||
const translations = strings as Record<string, string>
|
const translations = strings as Record<string, string>;
|
||||||
for (let key in translations) {
|
for (let key in translations) {
|
||||||
if((translations[key] ).match(/<|>|http|puck|palet|퍽|disco|шайба|冰球|rondelle/gi)){
|
if (
|
||||||
badKeys.push(languageCode+':'+key+' : '+translations[key])
|
translations[key].match(
|
||||||
|
/<|>|http|puck|palet|퍽|disco|шайба|冰球|rondelle/gi,
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
badKeys.push(languageCode + ":" + key + " : " + translations[key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
expect(badKeys).toEqual([]);
|
expect(badKeys).toEqual([]);
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
|
|
|
@ -101,5 +101,5 @@ export function t(
|
||||||
for (let key in params) {
|
for (let key in params) {
|
||||||
template = template.split("{{" + key + "}}").join(`${params[key]}`);
|
template = template.split("{{" + key + "}}").join(`${params[key]}`);
|
||||||
}
|
}
|
||||||
return template.replace(/</gi,'<').replace(/>/gi,'>');
|
return template.replace(/</gi, "<").replace(/>/gi, ">");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue