Skip to content

Commit

Permalink
chore: update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Mar 1, 2025
1 parent cefe7e2 commit c0b04d2
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export class ResourceItemFileComponent implements OnInit, OnDestroy {
// use neglible timeout due to avoid afterViewCheck change detection
await _wait(0);
this.attachment = attachment;
const uri = await this.service.getFileAttachmentURI(this.dbDoc, false);
// avoiding converting to web url as will usually be opened natively (e.g. external open, native video)
const convertNativeSrc = false;
const uri = await this.service.getFileAttachmentURI(this.dbDoc, convertNativeSrc);
if (uri) {
this.fileURI = uri;
}
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/assets/debug.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"livestock": "•livestock•",
"Livestock Info": "•Livestock Info•",
"Livestock Options": "•Livestock Options•",
"Loading": "•Loading•",
"Long before the season": "•Long before the season•",
"Low": "•Low•",
"Maize": "•Maize•",
Expand Down Expand Up @@ -245,6 +246,7 @@
"Paprika": "•Paprika•",
"Paw-paw": "•Paw-paw•",
"paw-paw": "•paw-paw•",
"PDF Viewer not supported on this device": "•PDF Viewer not supported on this device•",
"Pearl Millet": "•Pearl Millet•",
"Performance": "•Performance•",
"Performance in high, mid and low rainfall": "•Performance in high, mid and low rainfall•",
Expand All @@ -255,6 +257,7 @@
"Please add title": "•Please add title•",
"Please enter start month": "•Please enter start month•",
"Please enter total months": "•Please enter total months•",
"Please install the latest version of Google Chrome and restart": "•Please install the latest version of Google Chrome and restart•",
"Please select at least 1 crop": "•Please select at least 1 crop•",
"ploughing": "•ploughing•",
"post-harvest handling": "•post-harvest handling•",
Expand Down Expand Up @@ -285,6 +288,7 @@
"Resource Allocation Map (RAM)": "•Resource Allocation Map (RAM)•",
"Resources": "•Resources•",
"Response to forecast": "•Response to forecast•",
"Restart App": "•Restart App•",
"Review": "•Review•",
"Revisit": "•Revisit•",
"Rice": "•Rice•",
Expand Down Expand Up @@ -395,6 +399,7 @@
"Tutorials": "•Tutorials•",
"Type": "•Type•",
"Undo": "•Undo•",
"Update": "•Update•",
"Use the forecasts to update and adapt your plans": "•Use the forecasts to update and adapt your plans•",
"vaccinate": "•vaccinate•",
"vaccine": "•vaccine•",
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/assets/global_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,20 +162,25 @@
"First 3 days receiving rainfall amount of 20mm and not followed by 9-day dry spell for the next 21 days": "First 3 days receiving rainfall amount of 20mm and not followed by 9-day dry spell for the next 21 days",
"I'm a farmer": "I'm a farmer",
"I'm an extension worker": "I'm an extension worker",
"Loading": "Loading",
"Name": "Name",
"New Profile": "New Profile",
"No photos added": "No photos added",
"Options": "Options",
"PDF Viewer not supported on this device": "PDF Viewer not supported on this device",
"Please install the latest version of Google Chrome and restart": "Please install the latest version of Google Chrome and restart",
"Probability and Risk": "Probability and Risk",
"Province": "Province",
"Redo": "Redo",
"Resource Allocation Map": "Resource Allocation Map",
"Restart App": "Restart App",
"Seasonal Calendar": "Seasonal Calendar",
"Seasonal total rainfall calculated between the defined start and defined end of the season": "Seasonal total rainfall calculated between the defined start and defined end of the season",
"Testimonials": "Testimonials",
"Tool": "Tool",
"Tutorials": "Tutorials",
"Undo": "Undo",
"Update": "Update",
"Use the forecasts to update and adapt your plans": "Use the forecasts to update and adapt your plans",
"What are the opportunities and risk?": "What are the opportunities and risk?",
"What best describes you?": "What best describes you?",
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/assets/ke_sw.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"livestock": "•livestock•",
"Livestock Info": "•Livestock Info•",
"Livestock Options": "•Livestock Options•",
"Loading": "•Loading•",
"Long before the season": "•Long before the season•",
"Low": "•Low•",
"Maize": "•Maize•",
Expand Down Expand Up @@ -245,6 +246,7 @@
"Paprika": "•Paprika•",
"Paw-paw": "•Paw-paw•",
"paw-paw": "•paw-paw•",
"PDF Viewer not supported on this device": "•PDF Viewer not supported on this device•",
"Pearl Millet": "•Pearl Millet•",
"Performance": "•Performance•",
"Performance in high, mid and low rainfall": "•Performance in high, mid and low rainfall•",
Expand All @@ -255,6 +257,7 @@
"Please add title": "•Please add title•",
"Please enter start month": "•Please enter start month•",
"Please enter total months": "•Please enter total months•",
"Please install the latest version of Google Chrome and restart": "•Please install the latest version of Google Chrome and restart•",
"Please select at least 1 crop": "•Please select at least 1 crop•",
"ploughing": "•ploughing•",
"post-harvest handling": "•post-harvest handling•",
Expand Down Expand Up @@ -285,6 +288,7 @@
"Resource Allocation Map (RAM)": "•Resource Allocation Map (RAM)•",
"Resources": "Rasilimali",
"Response to forecast": "•Response to forecast•",
"Restart App": "•Restart App•",
"Review": "•Review•",
"Revisit": "•Revisit•",
"Rice": "•Rice•",
Expand Down Expand Up @@ -395,6 +399,7 @@
"Tutorials": "•Tutorials•",
"Type": "•Type•",
"Undo": "•Undo•",
"Update": "•Update•",
"Use the forecasts to update and adapt your plans": "•Use the forecasts to update and adapt your plans•",
"vaccinate": "•vaccinate•",
"vaccine": "•vaccine•",
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/assets/mw_ny.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"livestock": "ziweto",
"Livestock Info": "Mauthenga a ziweto",
"Livestock Options": "Zisankho zokhudza ziweto",
"Loading": "•Loading•",
"Long before the season": "Kutali ndi kuyamba kwa nyengo",
"Low": "Zochepa",
"Maize": "chimanga",
Expand Down Expand Up @@ -245,6 +246,7 @@
"Paprika": "Paprika",
"Paw-paw": "papaya",
"paw-paw": "papaya",
"PDF Viewer not supported on this device": "•PDF Viewer not supported on this device•",
"Pearl Millet": "Mapila",
"Performance": "Mene zimachitira",
"Performance in high, mid and low rainfall": "M'mene zimachitira kukakhala mvula yochepa, yachikatikati kapena yochepa",
Expand All @@ -255,6 +257,7 @@
"Please add title": "Chonde lembani Mutu wake",
"Please enter start month": "Chonde lembani mwezi oyambira",
"Please enter total months": "Chonde lembani Miyezi yonse",
"Please install the latest version of Google Chrome and restart": "•Please install the latest version of Google Chrome and restart•",
"Please select at least 1 crop": "Chonde sankhani mbewu zosachepera imodzi",
"ploughing": "kugalauza",
"post-harvest handling": "kusamala zokolora",
Expand Down Expand Up @@ -285,6 +288,7 @@
"Resource Allocation Map (RAM)": "Mapu ogawa zinthu zimene tikuyenera kugwiritsa ntchito",
"Resources": "zipangizo",
"Response to forecast": "Yankho ku ulosi wa nyengo",
"Restart App": "•Restart App•",
"Review": "Kuunikira",
"Revisit": "Kubwereza",
"Rice": "mpunga",
Expand Down Expand Up @@ -395,6 +399,7 @@
"Tutorials": "Zitsanzo",
"Type": "Mtundu",
"Undo": "Kuchotsa zomwe mudapanga",
"Update": "•Update•",
"Use the forecasts to update and adapt your plans": "Konzaninso ma Plan anu pogwiritsa ntchito Ulosi ",
"vaccinate": "kupereka katemela",
"vaccine": "katemera",
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/assets/tj_tg.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"livestock": "чорвоӣ",
"Livestock Info": "•Livestock Info•",
"Livestock Options": "•Livestock Options•",
"Loading": "•Loading•",
"Long before the season": "•Long before the season•",
"Low": "•Low•",
"Maize": "•Maize•",
Expand Down Expand Up @@ -245,6 +246,7 @@
"Paprika": "•Paprika•",
"Paw-paw": "•Paw-paw•",
"paw-paw": "По-По",
"PDF Viewer not supported on this device": "•PDF Viewer not supported on this device•",
"Pearl Millet": "•Pearl Millet•",
"Performance": "•Performance•",
"Performance in high, mid and low rainfall": "•Performance in high, mid and low rainfall•",
Expand All @@ -255,6 +257,7 @@
"Please add title": "•Please add title•",
"Please enter start month": "•Please enter start month•",
"Please enter total months": "•Please enter total months•",
"Please install the latest version of Google Chrome and restart": "•Please install the latest version of Google Chrome and restart•",
"Please select at least 1 crop": "•Please select at least 1 crop•",
"ploughing": "шудгор кардан",
"post-harvest handling": "Мавридҳои ҳосили пас аз",
Expand Down Expand Up @@ -285,6 +288,7 @@
"Resource Allocation Map (RAM)": "•Resource Allocation Map (RAM)•",
"Resources": "Захираҳо",
"Response to forecast": "•Response to forecast•",
"Restart App": "•Restart App•",
"Review": "•Review•",
"Revisit": "•Revisit•",
"Rice": "•Rice•",
Expand Down Expand Up @@ -395,6 +399,7 @@
"Tutorials": "•Tutorials•",
"Type": "•Type•",
"Undo": "•Undo•",
"Update": "•Update•",
"Use the forecasts to update and adapt your plans": "•Use the forecasts to update and adapt your plans•",
"vaccinate": "пайванд кардан",
"vaccine": "ваксина",
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/assets/zm_ny.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"livestock": "ziweto",
"Livestock Info": "Zambiri ya ziweto",
"Livestock Options": "Zosankha Zanyama Zolima",
"Loading": "•Loading•",
"Long before the season": "M'malanga",
"Low": "Zapansi",
"Maize": "chimanga",
Expand Down Expand Up @@ -245,6 +246,7 @@
"Paprika": "Paprika",
"Paw-paw": "paw-paw",
"paw-paw": "paw-paw",
"PDF Viewer not supported on this device": "•PDF Viewer not supported on this device•",
"Pearl Millet": "Mawele",
"Performance": "Kuchita Bwino",
"Performance in high, mid and low rainfall": "Kuchita Bwino Pa Mvula Yambiri, Yochepa, ndi Yapakati",
Expand All @@ -255,6 +257,7 @@
"Please add title": "Chonde Onjezani Mutu",
"Please enter start month": "Chonde Lowetsani Mwezi Woyamba",
"Please enter total months": "Chonde Lowetsani Nthawi Yonse (miyezi)",
"Please install the latest version of Google Chrome and restart": "•Please install the latest version of Google Chrome and restart•",
"Please select at least 1 crop": "Chonde Sankhani Osachepera Mbeu Imodzi",
"ploughing": "kugaula",
"post-harvest handling": "kagwiridwe pambuyo po kolola",
Expand Down Expand Up @@ -285,6 +288,7 @@
"Resource Allocation Map (RAM)": "Chitunzi cha Zomwe tilinazo",
"Resources": "zipangizo",
"Response to forecast": "Zomwe tichita ndi uthenga wa zanyengo",
"Restart App": "•Restart App•",
"Review": "Ndemanga",
"Revisit": "Yenderansoni",
"Rice": "mpunga",
Expand Down Expand Up @@ -395,6 +399,7 @@
"Tutorials": "Maphunziro",
"Type": "Mtundu",
"Undo": "Kubwezeretsa",
"Update": "•Update•",
"Use the forecasts to update and adapt your plans": "Gwiritsani nchito chisonyezo cha mvula kuti musinthe ndikukonzekera",
"vaccinate": "katemera",
"vaccine": "katemera",
Expand Down
5 changes: 5 additions & 0 deletions libs/i18n/templates/_template.csv
Original file line number Diff line number Diff line change
Expand Up @@ -162,20 +162,25 @@ tool,context,text
"common",,"First 3 days receiving rainfall amount of 20mm and not followed by 9-day dry spell for the next 21 days"
"common",,"I'm a farmer"
"common",,"I'm an extension worker"
"common",,"Loading"
"common",,"Name"
"common",,"New Profile"
"common",,"No photos added"
"common",,"Options"
"common",,"PDF Viewer not supported on this device"
"common",,"Please install the latest version of Google Chrome and restart"
"common",,"Probability and Risk"
"common",,"Province"
"common",,"Redo"
"common",,"Resource Allocation Map"
"common",,"Restart App"
"common",,"Seasonal Calendar"
"common",,"Seasonal total rainfall calculated between the defined start and defined end of the season"
"common",,"Testimonials"
"common",,"Tool"
"common",,"Tutorials"
"common",,"Undo"
"common",,"Update"
"common",,"Use the forecasts to update and adapt your plans"
"common",,"What are the opportunities and risk?"
"common",,"What best describes you?"
Expand Down
20 changes: 20 additions & 0 deletions libs/i18n/templates/_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,10 @@
"text": "I'm an extension worker",
"tool": "common"
},
{
"text": "Loading",
"tool": "common"
},
{
"text": "Name",
"tool": "common"
Expand All @@ -753,6 +757,14 @@
"text": "Options",
"tool": "common"
},
{
"text": "PDF Viewer not supported on this device",
"tool": "common"
},
{
"text": "Please install the latest version of Google Chrome and restart",
"tool": "common"
},
{
"text": "Probability and Risk",
"tool": "common"
Expand All @@ -769,6 +781,10 @@
"text": "Resource Allocation Map",
"tool": "common"
},
{
"text": "Restart App",
"tool": "common"
},
{
"text": "Seasonal Calendar",
"tool": "common"
Expand All @@ -793,6 +809,10 @@
"text": "Undo",
"tool": "common"
},
{
"text": "Update",
"tool": "common"
},
{
"text": "Use the forecasts to update and adapt your plans",
"tool": "common"
Expand Down

0 comments on commit c0b04d2

Please sign in to comment.