Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
cb4db58e9b
11 changed files with 76 additions and 8485 deletions
|
@ -430,7 +430,7 @@ Button {
|
||||||
// -----------------------------
|
// -----------------------------
|
||||||
// APPBAR
|
// APPBAR
|
||||||
.appbar {
|
.appbar {
|
||||||
z-index: 32;
|
z-index: 4;
|
||||||
min-height: 56;
|
min-height: 56;
|
||||||
margin: 8;
|
margin: 8;
|
||||||
padding: 4;
|
padding: 4;
|
||||||
|
@ -449,7 +449,7 @@ Button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.toolbar {
|
.toolbar {
|
||||||
z-index: 24;
|
z-index: 4;
|
||||||
padding: 4;
|
padding: 4;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
horizontal-alignment: left;
|
horizontal-alignment: left;
|
||||||
|
@ -526,7 +526,7 @@ Button {
|
||||||
.recipeTitle {
|
.recipeTitle {
|
||||||
@extend .tw;
|
@extend .tw;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 16 0;
|
padding: 16 8;
|
||||||
line-height: 4;
|
line-height: 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1038,13 +1038,7 @@ export default {
|
||||||
navigateTo(to, title, page) {
|
navigateTo(to, title, page) {
|
||||||
this.showTools = false;
|
this.showTools = false;
|
||||||
if (page) {
|
if (page) {
|
||||||
this.$navigateTo(to, {
|
this.$navigateTo(to);
|
||||||
transition: {
|
|
||||||
name: "fade",
|
|
||||||
duration: 250,
|
|
||||||
curve: "easeOut",
|
|
||||||
},
|
|
||||||
});
|
|
||||||
} else if (title !== this.currentComponent) {
|
} else if (title !== this.currentComponent) {
|
||||||
this.setComponent(title);
|
this.setComponent(title);
|
||||||
this.filterFavourites = to == "favourites";
|
this.filterFavourites = to == "favourites";
|
||||||
|
@ -1059,11 +1053,6 @@ export default {
|
||||||
filterFavourites: this.filterFavourites,
|
filterFavourites: this.filterFavourites,
|
||||||
filterTrylater: this.filterTrylater,
|
filterTrylater: this.filterTrylater,
|
||||||
},
|
},
|
||||||
transition: {
|
|
||||||
name: "fade",
|
|
||||||
duration: 250,
|
|
||||||
curve: "easeOut",
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
viewRecipe(recipeID) {
|
viewRecipe(recipeID) {
|
||||||
|
@ -1073,11 +1062,6 @@ export default {
|
||||||
filterTrylater: this.filterTrylater,
|
filterTrylater: this.filterTrylater,
|
||||||
recipeID,
|
recipeID,
|
||||||
},
|
},
|
||||||
transition: {
|
|
||||||
name: "fade",
|
|
||||||
duration: 250,
|
|
||||||
curve: "easeOut",
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
viewRandomRecipe() {
|
viewRandomRecipe() {
|
||||||
|
@ -1087,11 +1071,6 @@ export default {
|
||||||
filterTrylater: true,
|
filterTrylater: true,
|
||||||
recipeID: this.randomRecipeID(),
|
recipeID: this.randomRecipeID(),
|
||||||
},
|
},
|
||||||
transition: {
|
|
||||||
name: "fade",
|
|
||||||
duration: 250,
|
|
||||||
curve: "easeOut",
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
touchSelector({ object, action }, comp, title) {
|
touchSelector({ object, action }, comp, title) {
|
||||||
|
|
|
@ -273,11 +273,6 @@ export default {
|
||||||
filterTrylater: true,
|
filterTrylater: true,
|
||||||
recipeID,
|
recipeID,
|
||||||
},
|
},
|
||||||
transition: {
|
|
||||||
name: "fade",
|
|
||||||
duration: 250,
|
|
||||||
curve: "easeOut",
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -201,9 +201,7 @@ export default {
|
||||||
let filename = `${localize("EnRecipes")}_${formattedDate}.zip`;
|
let filename = `${localize("EnRecipes")}_${formattedDate}.zip`;
|
||||||
let fromPath = path.join(knownFolders.documents().path, "EnRecipes");
|
let fromPath = path.join(knownFolders.documents().path, "EnRecipes");
|
||||||
utils.Zip.zip(fromPath, this.backupFolder, filename)
|
utils.Zip.zip(fromPath, this.backupFolder, filename)
|
||||||
.then((res) => {
|
.then((res) => res && this.showExportSummary(filename))
|
||||||
if (res) this.showExportSummary(filename);
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log("Backup error: ", err);
|
console.log("Backup error: ", err);
|
||||||
this.progress = null;
|
this.progress = null;
|
||||||
|
@ -262,7 +260,7 @@ export default {
|
||||||
},
|
},
|
||||||
showExportSummary(filename) {
|
showExportSummary(filename) {
|
||||||
this.progress = null;
|
this.progress = null;
|
||||||
let description = localize("buto", filename);
|
let description = localize("buto", `"${filename}"`);
|
||||||
this.$showModal(ConfirmDialog, {
|
this.$showModal(ConfirmDialog, {
|
||||||
props: {
|
props: {
|
||||||
title: "expSuc",
|
title: "expSuc",
|
||||||
|
@ -278,9 +276,7 @@ export default {
|
||||||
if (uri) {
|
if (uri) {
|
||||||
let dest = knownFolders.temp().path;
|
let dest = knownFolders.temp().path;
|
||||||
utils.Zip.unzip(uri, dest)
|
utils.Zip.unzip(uri, dest)
|
||||||
.then((res) => {
|
.then((res) => res && this.validateZipContent(res, uri))
|
||||||
if (res) this.validateZipContent(res, uri);
|
|
||||||
})
|
|
||||||
.catch(() => this.failedImport(localize("buInc")));
|
.catch(() => this.failedImport(localize("buInc")));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -328,20 +324,15 @@ export default {
|
||||||
file: "mealPlans.json",
|
file: "mealPlans.json",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
} else {
|
|
||||||
knownFolders.temp().clear();
|
|
||||||
this.progress = null;
|
|
||||||
this.failedImport(localize("buInc"));
|
|
||||||
}
|
|
||||||
if (Folder.exists(ImagesFolderPath)) {
|
|
||||||
const timer = setInterval(() => {
|
const timer = setInterval(() => {
|
||||||
if (this.importSummary.found) {
|
if (!this.progress) clearInterval(timer);
|
||||||
knownFolders.temp().clear();
|
if (this.progress && this.importSummary.found) {
|
||||||
this.importImages(uri);
|
Folder.exists(ImagesFolderPath)
|
||||||
clearInterval(timer);
|
? this.importImages(uri)
|
||||||
|
: this.showImportSummary();
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
} else this.failedImport(localize("buInc"));
|
||||||
},
|
},
|
||||||
isFileDataValid(file) {
|
isFileDataValid(file) {
|
||||||
const files = file.filter((e) => File.exists(e.path));
|
const files = file.filter((e) => File.exists(e.path));
|
||||||
|
@ -369,11 +360,11 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else this.failedImport(localize("buEmp"));
|
||||||
this.failedImport(localize("buEmp"));
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
failedImport(description) {
|
failedImport(description) {
|
||||||
|
this.progress = null;
|
||||||
|
knownFolders.temp().clear();
|
||||||
this.$showModal(ConfirmDialog, {
|
this.$showModal(ConfirmDialog, {
|
||||||
props: {
|
props: {
|
||||||
title: "impFail",
|
title: "impFail",
|
||||||
|
@ -431,17 +422,18 @@ export default {
|
||||||
if (res) {
|
if (res) {
|
||||||
this.showImportSummary();
|
this.showImportSummary();
|
||||||
this.unlinkBrokenImages();
|
this.unlinkBrokenImages();
|
||||||
this.exportFiles("delete");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
showImportSummary() {
|
showImportSummary() {
|
||||||
|
this.progress = null;
|
||||||
|
knownFolders.temp().clear();
|
||||||
|
this.exportFiles("delete");
|
||||||
let { found, imported, updated } = this.importSummary;
|
let { found, imported, updated } = this.importSummary;
|
||||||
let exists = Math.abs(found - imported - updated) + updated;
|
let exists = Math.abs(found - imported - updated) + updated;
|
||||||
let importedNote = `\n${localize("recI")} ${imported}`;
|
let importedNote = `\n${localize("recI")} ${imported}`;
|
||||||
let existsNote = `\n${localize("recE")} ${exists}`;
|
let existsNote = `\n${localize("recE")} ${exists}`;
|
||||||
let updatedNote = `\n${localize("recU")} ${updated}`;
|
let updatedNote = `\n${localize("recU")} ${updated}`;
|
||||||
this.progress = null;
|
|
||||||
this.$showModal(ConfirmDialog, {
|
this.$showModal(ConfirmDialog, {
|
||||||
props: {
|
props: {
|
||||||
title: "impSuc",
|
title: "impSuc",
|
||||||
|
|
|
@ -324,7 +324,7 @@ export default {
|
||||||
onPageLoad(args) {
|
onPageLoad(args) {
|
||||||
const page = args.object;
|
const page = args.object;
|
||||||
page.bindingContext = new Observable();
|
page.bindingContext = new Observable();
|
||||||
this.busy = false;
|
this.busy = this.photoOpen = false;
|
||||||
this.setComponent("ViewRecipe");
|
this.setComponent("ViewRecipe");
|
||||||
if (this.yieldMultiplier == this.recipe.yield.quantity)
|
if (this.yieldMultiplier == this.recipe.yield.quantity)
|
||||||
this.yieldMultiplier = this.recipe.yield.quantity;
|
this.yieldMultiplier = this.recipe.yield.quantity;
|
||||||
|
@ -622,21 +622,28 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
shareRecipe() {
|
shareRecipe() {
|
||||||
let overview = `${this.recipe.title}\n\n${localize("stars")}: ${
|
let overview = `${this.recipe.title}\n\n`;
|
||||||
this.recipe.rating
|
if (this.recipe.rating)
|
||||||
}\n${localize("cui")}: ${localize(this.recipe.cuisine)}\n${localize(
|
overview += `${localize("stars")}: ${this.recipe.rating}\n`;
|
||||||
"cat"
|
overview += `${localize("cui")}: ${localize(
|
||||||
)}: ${localize(this.recipe.category)}\n${localize(
|
this.recipe.cuisine
|
||||||
"ts"
|
)}\n${localize("cat")}: ${localize(this.recipe.category)}\n`;
|
||||||
)}: ${this.recipe.tags.join(", ")}\n${localize(
|
if (this.recipe.tags.length)
|
||||||
"prepT"
|
overview += `${localize("ts")}: ${this.recipe.tags.join(", ")}\n`;
|
||||||
)}: ${this.formattedTime(this.recipe.prepTime)}\n${localize(
|
if (this.recipe.prepTime != "00:00")
|
||||||
"cookT"
|
overview += `${localize("prepT")}: ${this.formattedTime(
|
||||||
)}: ${this.formattedTime(this.recipe.cookTime)}\n${localize("yld")}: ${
|
this.recipe.prepTime
|
||||||
this.tempYieldQuantity
|
)}\n`;
|
||||||
} ${localize(this.recipe.yield.unit)}\n${localize(
|
if (this.recipe.cookTime != "00:00")
|
||||||
"Difficulty level"
|
overview += `${localize("cookT")}: ${this.formattedTime(
|
||||||
)}: ${localize(this.recipe.difficulty)}\n`;
|
this.recipe.cookTime
|
||||||
|
)}\n`;
|
||||||
|
overview += `${localize("yld")}: ${this.tempYieldQuantity} ${localize(
|
||||||
|
this.recipe.yield.unit
|
||||||
|
)}\n${localize("Difficulty level")}: ${localize(
|
||||||
|
this.recipe.difficulty
|
||||||
|
)}\n`;
|
||||||
|
|
||||||
let shareContent = overview;
|
let shareContent = overview;
|
||||||
if (this.recipe.ingredients.length) {
|
if (this.recipe.ingredients.length) {
|
||||||
let ingredients = `\n\n${localize("ings")}:\n\n`;
|
let ingredients = `\n\n${localize("ings")}:\n\n`;
|
||||||
|
@ -791,7 +798,7 @@ export default {
|
||||||
)
|
)
|
||||||
.then(() =>
|
.then(() =>
|
||||||
pv.animate({
|
pv.animate({
|
||||||
height: sh,
|
height: sh + 8,
|
||||||
translate: { x: -sw + 112, y: -((sh - sw) / 6) },
|
translate: { x: -sw + 112, y: -((sh - sw) / 6) },
|
||||||
duration: 250,
|
duration: 250,
|
||||||
curve: CoreTypes.AnimationCurve.ease,
|
curve: CoreTypes.AnimationCurve.ease,
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"fltr": "फ़िल्टर",
|
"fltr": "फ़िल्टर",
|
||||||
"Fluid Ounce": "द्रव-औंस",
|
"Fluid Ounce": "द्रव-औंस",
|
||||||
"French": "फ्रेंच",
|
"French": "फ्रेंच",
|
||||||
"FRI": "शुक्रवार",
|
"FRI": "शुक्र",
|
||||||
"fsList": "आपकी पसंदीदा रेसिपी यहाँ सूचीबद्ध हैं",
|
"fsList": "आपकी पसंदीदा रेसिपी यहाँ सूचीबद्ध हैं",
|
||||||
"g": "ग्राम",
|
"g": "ग्राम",
|
||||||
"gal": "गैलन",
|
"gal": "गैलन",
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
"minimal": "कम से कम",
|
"minimal": "कम से कम",
|
||||||
"ml": "मिली लीटर",
|
"ml": "मिली लीटर",
|
||||||
"Moderate": "उदारवादी",
|
"Moderate": "उदारवादी",
|
||||||
"MON": "सोमवार",
|
"MON": "सोम",
|
||||||
"newCui": "नए भोजन",
|
"newCui": "नए भोजन",
|
||||||
"Newest first": "नवीनतम पहले",
|
"Newest first": "नवीनतम पहले",
|
||||||
"newRec": "नई रेसिपी",
|
"newRec": "नई रेसिपी",
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
"rst": "पुनरारंभ",
|
"rst": "पुनरारंभ",
|
||||||
"Russian": "रूसी",
|
"Russian": "रूसी",
|
||||||
"Salads": "सलाद",
|
"Salads": "सलाद",
|
||||||
"SAT": "शनिवार",
|
"SAT": "शनि",
|
||||||
"Sauces": "सॉस",
|
"Sauces": "सॉस",
|
||||||
"Scottish": "स्कॉटिश",
|
"Scottish": "स्कॉटिश",
|
||||||
"Seafood": "समुद्री भोजन",
|
"Seafood": "समुद्री भोजन",
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
"stick": "लाठी",
|
"stick": "लाठी",
|
||||||
"stp": "कदम",
|
"stp": "कदम",
|
||||||
"strAdd": "अपने व्यंजनों को जोड़ना शुरू करें!",
|
"strAdd": "अपने व्यंजनों को जोड़ना शुरू करें!",
|
||||||
"SUN": "रविवार",
|
"SUN": "रवि",
|
||||||
"sVw": "यादृच्छिक नुस्खा देखने के लिए हिलाएं",
|
"sVw": "यादृच्छिक नुस्खा देखने के लिए हिलाएं",
|
||||||
"sVwInfo": "जब आप तय नहीं कर सकते तो आपको क्या खाना बनाना है, यह चुनने में मदद करता है",
|
"sVwInfo": "जब आप तय नहीं कर सकते तो आपको क्या खाना बनाना है, यह चुनने में मदद करता है",
|
||||||
"Swedish": "स्वीडिश",
|
"Swedish": "स्वीडिश",
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
"Teaspoon": "छोटी चम्मच",
|
"Teaspoon": "छोटी चम्मच",
|
||||||
"Thai": "थाई",
|
"Thai": "थाई",
|
||||||
"Theme": "थीम",
|
"Theme": "थीम",
|
||||||
"THU": "गुरूवार",
|
"THU": "गुरु",
|
||||||
"title": "शीर्षक",
|
"title": "शीर्षक",
|
||||||
"tLInfo": "जिन व्यंजनों को आप बाद में आज़माना चाहते हैं, वे यहाँ सूचीबद्ध हैं",
|
"tLInfo": "जिन व्यंजनों को आप बाद में आज़माना चाहते हैं, वे यहाँ सूचीबद्ध हैं",
|
||||||
"today": "आज",
|
"today": "आज",
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
"ts": "टैग",
|
"ts": "टैग",
|
||||||
"tsInfo": "रिक्त स्थान के साथ अलग",
|
"tsInfo": "रिक्त स्थान के साथ अलग",
|
||||||
"tsp": "छोटी चम्मच",
|
"tsp": "छोटी चम्मच",
|
||||||
"TUE": "मंगलवार",
|
"TUE": "मंगल",
|
||||||
"Turkish": "तुर्की",
|
"Turkish": "तुर्की",
|
||||||
"Undefined": "अपरिभाषित",
|
"Undefined": "अपरिभाषित",
|
||||||
"unit": "इकाई",
|
"unit": "इकाई",
|
||||||
|
@ -283,7 +283,7 @@
|
||||||
"Vegetarian": "शाकाहारी",
|
"Vegetarian": "शाकाहारी",
|
||||||
"Vietnamese": "वियतनामी",
|
"Vietnamese": "वियतनामी",
|
||||||
"wAgo": "%s हफ्ते पहले",
|
"wAgo": "%s हफ्ते पहले",
|
||||||
"WED": "बुधवार",
|
"WED": "बुध",
|
||||||
"yesterday": "कल",
|
"yesterday": "कल",
|
||||||
"yieldQ": "उपज की मात्रा",
|
"yieldQ": "उपज की मात्रा",
|
||||||
"yieldU": "उपज इकाई",
|
"yieldU": "उपज इकाई",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"fltr": "ഫിൽട്ടർ ചെയ്യുക",
|
"fltr": "ഫിൽട്ടർ ചെയ്യുക",
|
||||||
"Fluid Ounce": "ഫ്ലൂയിഡ് un ൺസ്",
|
"Fluid Ounce": "ഫ്ലൂയിഡ് un ൺസ്",
|
||||||
"French": "ഫ്രഞ്ച്",
|
"French": "ഫ്രഞ്ച്",
|
||||||
"FRI": "വെള്ളിയാഴ്ച",
|
"FRI": "വെള്ളി",
|
||||||
"fsList": "നിങ്ങളുടെ പ്രിയപ്പെട്ട പാചകക്കുറിപ്പുകൾ ഇവിടെ പട്ടികപ്പെടുത്തിയിട്ടുണ്ട്",
|
"fsList": "നിങ്ങളുടെ പ്രിയപ്പെട്ട പാചകക്കുറിപ്പുകൾ ഇവിടെ പട്ടികപ്പെടുത്തിയിട്ടുണ്ട്",
|
||||||
"g": "ഗ്രാം",
|
"g": "ഗ്രാം",
|
||||||
"gal": "ഗാലൺ",
|
"gal": "ഗാലൺ",
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
"minimal": "കുറഞ്ഞത്",
|
"minimal": "കുറഞ്ഞത്",
|
||||||
"ml": "മില്ലി",
|
"ml": "മില്ലി",
|
||||||
"Moderate": "മിതത്വം",
|
"Moderate": "മിതത്വം",
|
||||||
"MON": "തിങ്കളാഴ്ച",
|
"MON": "തിങ്കൾ",
|
||||||
"newCui": "പുതിയ പാചകരീതി",
|
"newCui": "പുതിയ പാചകരീതി",
|
||||||
"Newest first": "ആദ്യത്തെ പുതിയത്",
|
"Newest first": "ആദ്യത്തെ പുതിയത്",
|
||||||
"newRec": "പുതിയ പാചകക്കുറിപ്പ്",
|
"newRec": "പുതിയ പാചകക്കുറിപ്പ്",
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
"rst": "പുനരാരംഭിക്കുക",
|
"rst": "പുനരാരംഭിക്കുക",
|
||||||
"Russian": "റഷ്യൻ",
|
"Russian": "റഷ്യൻ",
|
||||||
"Salads": "സലാഡുകൾ",
|
"Salads": "സലാഡുകൾ",
|
||||||
"SAT": "ശനിയാഴ്ച",
|
"SAT": "ശനി",
|
||||||
"Sauces": "സോസുകൾ",
|
"Sauces": "സോസുകൾ",
|
||||||
"Scottish": "സ്കോട്ടിഷ്",
|
"Scottish": "സ്കോട്ടിഷ്",
|
||||||
"Seafood": "കടൽ ഭക്ഷണം",
|
"Seafood": "കടൽ ഭക്ഷണം",
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
"stick": "വടി",
|
"stick": "വടി",
|
||||||
"stp": "ഘട്ടം",
|
"stp": "ഘട്ടം",
|
||||||
"strAdd": "നിങ്ങളുടെ പാചകക്കുറിപ്പുകൾ ചേർക്കാൻ ആരംഭിക്കുക!",
|
"strAdd": "നിങ്ങളുടെ പാചകക്കുറിപ്പുകൾ ചേർക്കാൻ ആരംഭിക്കുക!",
|
||||||
"SUN": "ഞായറാഴ്ച",
|
"SUN": "ഞായ",
|
||||||
"sVw": "ക്രമരഹിതമായ പാചകക്കുറിപ്പ് കാണാൻ കുലുക്കുക",
|
"sVw": "ക്രമരഹിതമായ പാചകക്കുറിപ്പ് കാണാൻ കുലുക്കുക",
|
||||||
"sVwInfo": "നിങ്ങൾക്ക് തീരുമാനിക്കാൻ കഴിയാത്തപ്പോൾ എന്താണ് പാചകം ചെയ്യേണ്ടതെന്ന് തിരഞ്ഞെടുക്കാൻ നിങ്ങളെ സഹായിക്കുന്നു",
|
"sVwInfo": "നിങ്ങൾക്ക് തീരുമാനിക്കാൻ കഴിയാത്തപ്പോൾ എന്താണ് പാചകം ചെയ്യേണ്ടതെന്ന് തിരഞ്ഞെടുക്കാൻ നിങ്ങളെ സഹായിക്കുന്നു",
|
||||||
"Swedish": "സ്വീഡിഷ്",
|
"Swedish": "സ്വീഡിഷ്",
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
"Teaspoon": "ടീസ്പൂൺ",
|
"Teaspoon": "ടീസ്പൂൺ",
|
||||||
"Thai": "തായ്",
|
"Thai": "തായ്",
|
||||||
"Theme": "തീം",
|
"Theme": "തീം",
|
||||||
"THU": "വ്യാഴാഴ്ച",
|
"THU": "വ്യാഴം",
|
||||||
"title": "ശീർഷകം",
|
"title": "ശീർഷകം",
|
||||||
"tLInfo": "നിങ്ങൾ പിന്നീട് ശ്രമിക്കാൻ ആഗ്രഹിക്കുന്ന പാചകക്കുറിപ്പുകൾ ഇവിടെ പട്ടികപ്പെടുത്തിയിട്ടുണ്ട്",
|
"tLInfo": "നിങ്ങൾ പിന്നീട് ശ്രമിക്കാൻ ആഗ്രഹിക്കുന്ന പാചകക്കുറിപ്പുകൾ ഇവിടെ പട്ടികപ്പെടുത്തിയിട്ടുണ്ട്",
|
||||||
"today": "ഇന്ന്",
|
"today": "ഇന്ന്",
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
"ts": "ടാഗുകൾ",
|
"ts": "ടാഗുകൾ",
|
||||||
"tsInfo": "സ്പെയ്സുകൾ ഉപയോഗിച്ച് വേർതിരിക്കുക",
|
"tsInfo": "സ്പെയ്സുകൾ ഉപയോഗിച്ച് വേർതിരിക്കുക",
|
||||||
"tsp": "ടീസ്പൂൺ",
|
"tsp": "ടീസ്പൂൺ",
|
||||||
"TUE": "ചൊവ്വാഴ്ച",
|
"TUE": "ചൊവ്വ",
|
||||||
"Turkish": "ടർക്കിഷ്",
|
"Turkish": "ടർക്കിഷ്",
|
||||||
"Undefined": "നിർവചിച്ചിട്ടില്ല",
|
"Undefined": "നിർവചിച്ചിട്ടില്ല",
|
||||||
"unit": "യൂണിറ്റ്",
|
"unit": "യൂണിറ്റ്",
|
||||||
|
@ -283,7 +283,7 @@
|
||||||
"Vegetarian": "വെജിറ്റേറിയൻ",
|
"Vegetarian": "വെജിറ്റേറിയൻ",
|
||||||
"Vietnamese": "വിയറ്റ്നാമീസ്",
|
"Vietnamese": "വിയറ്റ്നാമീസ്",
|
||||||
"wAgo": "%s ആഴ്ച മുമ്പ്",
|
"wAgo": "%s ആഴ്ച മുമ്പ്",
|
||||||
"WED": "ബുധനാഴ്ച",
|
"WED": "ബുധൻ",
|
||||||
"yesterday": "ഇന്നലെ",
|
"yesterday": "ഇന്നലെ",
|
||||||
"yieldQ": "വിളവ് അളവ്",
|
"yieldQ": "വിളവ് അളവ്",
|
||||||
"yieldU": "വിളവ് യൂണിറ്റ്",
|
"yieldU": "വിളവ് യൂണിറ്റ്",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<uses-permission android:name="android.permission.INTERNET" tools:node="remove" />
|
<uses-permission android:name="android.permission.INTERNET" tools:node="remove" />
|
||||||
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove" />
|
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove" />
|
||||||
<application android:extractNativeLibs="true"
|
<application android:extractNativeLibs="true"
|
||||||
android:name="com.tns.NativeScriptApplication" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:hardwareAccelerated="true" android:largeHeap="true" android:theme="@style/AppTheme" android:preserveLegacyExternalStorage="true">
|
android:name="com.tns.NativeScriptApplication" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:hardwareAccelerated="true" android:largeHeap="true" android:theme="@style/AppTheme">
|
||||||
<activity android:name="com.tns.NativeScriptActivity" android:label="@string/title_activity_kimera" android:screenOrientation="userPortrait" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode" android:theme="@style/LaunchScreenTheme" android:windowSoftInputMode="adjustResize">
|
<activity android:name="com.tns.NativeScriptActivity" android:label="@string/title_activity_kimera" android:screenOrientation="userPortrait" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode" android:theme="@style/LaunchScreenTheme" android:windowSoftInputMode="adjustResize">
|
||||||
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
|
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@ -19,5 +19,14 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity android:name="com.tns.ErrorReportActivity" />
|
<activity android:name="com.tns.ErrorReportActivity" />
|
||||||
|
<provider
|
||||||
|
android:name="androidx.core.content.FileProvider"
|
||||||
|
android:exported="false"
|
||||||
|
android:authorities="${applicationId}.provider"
|
||||||
|
android:grantUriPermissions="true">
|
||||||
|
<meta-data
|
||||||
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||||
|
android:resource="@xml/provider"/>
|
||||||
|
</provider>
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
4
app/resources/Android/src/main/res/xml/provider.xml
Normal file
4
app/resources/Android/src/main/res/xml/provider.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<external-cache-path name="external_cache_path" path="." />
|
||||||
|
</paths>
|
|
@ -264,9 +264,11 @@ export const shareImage = (image, subject) => {
|
||||||
fos.write(baos.toByteArray())
|
fos.write(baos.toByteArray())
|
||||||
fos.flush()
|
fos.flush()
|
||||||
fos.close()
|
fos.close()
|
||||||
intent.putExtra(
|
let shareUri = global.androidx.core.content.FileProvider.getUriForFile(
|
||||||
android.content.Intent.EXTRA_STREAM,
|
ctx,
|
||||||
android.net.Uri.fromFile(tmpFile)
|
Application.android.nativeApp.getPackageName() + '.provider',
|
||||||
|
tmpFile
|
||||||
)
|
)
|
||||||
|
intent.putExtra(android.content.Intent.EXTRA_STREAM, shareUri)
|
||||||
share(intent, subject)
|
share(intent, subject)
|
||||||
}
|
}
|
||||||
|
|
8397
package-lock.json
generated
8397
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue