Build 29133839

This commit is contained in:
Renan LE CARO 2025-05-23 21:59:47 +02:00
parent 9ab547d2a9
commit 5f41d23a1a
16 changed files with 3841 additions and 3837 deletions

View file

@ -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

File diff suppressed because one or more lines are too long

View file

@ -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}`;

View file

@ -1 +1 @@
"29133750" "29133839"

View file

@ -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([]);
}); });
}) });

View file

@ -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,'&lt;').replace(/>/gi,'&gt;'); return template.replace(/</gi, "&lt;").replace(/>/gi, "&gt;");
} }