diff --git a/Models/Constants.ts b/Models/Constants.ts index 94132c0045..62ce66ee10 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.5.4"; + public static vNumber = "0.5.4c"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/assets/translations.json b/assets/translations.json index d04a0811c8..d4a3a7fe7e 100644 --- a/assets/translations.json +++ b/assets/translations.json @@ -19,7 +19,7 @@ "de": "Ihr Bild hochladen..." }, "uploadingMultiple": { - "en": "Uploading {count} of your picture...", + "en": "Uploading {count} pictures...", "nl": "Bezig met {count} foto's te uploaden...", "ca": "Pujant {count} de la teva imatge...", "es": "Subiendo {count} de tus fotos...", diff --git a/scripts/createLayouts.ts b/scripts/createLayouts.ts index c790670b4a..6ea5f7e354 100644 --- a/scripts/createLayouts.ts +++ b/scripts/createLayouts.ts @@ -218,7 +218,7 @@ async function createLandingPage(layout: LayoutConfig) { } let output = template - .replace("./manifest.manifest", `${enc(layout.id)}.webmanifest`) + .replace("./index.webmanifest", `${enc(layout.id)}.webmanifest`) .replace("", og) .replace(/.+?<\/title>/, `<title>${ogTitle}`) .replace("Loading MapComplete, hang on...", `Loading MapComplete theme ${ogTitle}...`) @@ -263,7 +263,7 @@ for (const layoutName in all) { const layout = all[layoutName]; validate(layout) createManifest(layout, "").then(manifObj => { - const manif = JSON.stringify(manifObj); + const manif = JSON.stringify(manifObj, undefined, 2); const manifestLocation = encodeURIComponent(layout.id.toLowerCase()) + ".webmanifest"; writeFile(manifestLocation, manif, err); }) @@ -292,8 +292,8 @@ writeFile(generatedDir + "/wikiIndex", wikiPage, (err) => { title: "MapComplete", version: Constants.vNumber, description:"MapComplete as a map viewer and editor which show thematic POI based on OpenStreetMap" -}),"index").then(manifObj => { - const manif = JSON.stringify(manifObj); +}),"").then(manifObj => { + const manif = JSON.stringify(manifObj, undefined, 2); writeFileSync("index.webmanifest",manif) })