mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-14 10:14:47 -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"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
versionCode = 29133750
|
||||
versionName = "29133750"
|
||||
versionCode = 29133839
|
||||
versionName = "29133839"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
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.
|
||||
const VERSION = "29133750";
|
||||
const VERSION = "29133839";
|
||||
|
||||
// The name of the cache
|
||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||
|
|
|
@ -1 +1 @@
|
|||
"29133750"
|
||||
"29133839"
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
import {languages} from "./i18n";
|
||||
import { languages } from "./i18n";
|
||||
|
||||
describe("translation quality checks", () => {
|
||||
it("no html, links, puck", () => {
|
||||
const badKeys:String[] = []
|
||||
for(let {value:languageCode,strings} of languages){
|
||||
const translations = strings as Record<string, string>
|
||||
for(let key in translations ){
|
||||
if((translations[key] ).match(/<|>|http|puck|palet|퍽|disco|шайба|冰球|rondelle/gi)){
|
||||
badKeys.push(languageCode+':'+key+' : '+translations[key])
|
||||
const badKeys: String[] = [];
|
||||
for (let { value: languageCode, strings } of languages) {
|
||||
const translations = strings as Record<string, string>;
|
||||
for (let key in translations) {
|
||||
if (
|
||||
translations[key].match(
|
||||
/<|>|http|puck|palet|퍽|disco|шайба|冰球|rondelle/gi,
|
||||
)
|
||||
) {
|
||||
badKeys.push(languageCode + ":" + key + " : " + translations[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
expect(badKeys).toEqual([]);
|
||||
});
|
||||
})
|
||||
});
|
||||
|
|
|
@ -101,5 +101,5 @@ export function t(
|
|||
for (let key in params) {
|
||||
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