Skip to content

Commit

Permalink
chore: update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Jan 24, 2024
1 parent 9cfac54 commit 1d8334c
Show file tree
Hide file tree
Showing 11 changed files with 99 additions and 207 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ <h2>{{ 'Calendar Time' | translate }}</h2>
</mat-form-field>
</div>
<div class="calendar-summary">
@for (month of formValue.meta.months; track $index) {
@for (month of monthLabels; track $index) {
<div>{{ month | translate }}</div>
}
</div>
</div>
<div class="submit-button">
<button class="" mat-button mat-raised-button (click)="handleSubmit()" color="primary">
{{ 'Create calender ' | translate }}
{{ 'Create calender' | translate }}
</button>
</div>
</form>
Expand Down
4 changes: 2 additions & 2 deletions libs/components/src/components/back-button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { PicsaCommonComponentsService } from '../services/components.service';
selector: 'back-button',
template: `
<button *ngIf="variant === 'primary'" mat-button color="primary" (click)="back()">
<mat-icon>arrow_back</mat-icon>Back
<mat-icon>arrow_back</mat-icon>{{ 'Back' | translate }}
</button>
<button *ngIf="variant === 'white'" mat-button style="color:white" (click)="back()">
<mat-icon>arrow_back</mat-icon>Back
<mat-icon>arrow_back</mat-icon>{{ 'Back' | translate }}
</button>
`,
})
Expand Down
23 changes: 6 additions & 17 deletions libs/i18n/assets/debug.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"": "••",
"Above": "•Above•",
"Activities": "•Activities•",
"Activity": "•Activity•",
"Activity Flow Chart": "•Activity Flow Chart•",
"Add": "•Add•",
"Add Activity": "•Add Activity•",
"Add Card": "•Add Card•",
"add custom": "•add custom•",
"Add Female Member": "•Add Female Member•",
Expand All @@ -17,6 +17,7 @@
"All Submitted": "•All Submitted•",
"Analyse": "•Analyse•",
"and": "•and•",
"Apply Fertiliser": "•Apply Fertiliser•",
"apply fertiliser": "•apply fertiliser•",
"apply pesticide": "•apply pesticide•",
"Apr": "•Apr•",
Expand All @@ -41,8 +42,6 @@
"build housing": "•build housing•",
"Calculated by using FAO CLIMWAT 2.0 for Cropwat and Cropwat 8.0 and climate data for Nkhotakota Met Station.": "•Calculated by using FAO CLIMWAT 2.0 for Cropwat and Cropwat 8.0 and climate data for Nkhotakota Met Station.•",
"Calculated with the date range of Start of rains and End of the rains": "•Calculated with the date range of Start of rains and End of the rains•",
"Calendar Time": "•Calendar Time•",
"Calender name": "•Calender name•",
"Cancel": "•Cancel•",
"Capacity of 100mm on 1st March reduces 0.5 with evaporation rate of 5mm per day": "•Capacity of 100mm on 1st March reduces 0.5 with evaporation rate of 5mm per day•",
"Cassava": "•Cassava•",
Expand All @@ -67,7 +66,6 @@
"Cowpeas": "•Cowpeas•",
"cowpeas": "•cowpeas•",
"Create Calendar": "•Create Calendar•",
"Create calender ": "•Create calender •",
"Create New": "•Create New•",
"Create New Budget": "•Create New Budget•",
"Crop": "•Crop•",
Expand All @@ -88,7 +86,6 @@
"Description (optional)": "•Description (optional)•",
"dipping": "•dipping•",
"Download the PICSA Manual": "•Download the PICSA Manual•",
"Drying": "•Drying•",
"ducks": "•ducks•",
"During the season": "•During the season•",
"Each row contains information about crop, variety, days to maturity and water requirement. Probabilities of receiving requirements are shown for different planting dates": "•Each row contains information about crop, variety, days to maturity and water requirement. Probabilities of receiving requirements are shown for different planting dates•",
Expand All @@ -100,9 +97,7 @@
"End of Season": "•End of Season•",
"End of season is defined as the last day in the season (1st October - 30th April) with more than 10mm of rainfall.": "•End of season is defined as the last day in the season (1st October - 30th April) with more than 10mm of rainfall.•",
"Enterprise": "•Enterprise•",
"Example Calendar": "•Example Calendar•",
"Extension": "•Extension•",
"Extra information": "•Extra information•",
"Extreme": "•Extreme•",
"Extreme Rainfall": "•Extreme Rainfall•",
"Extreme rainfall are days where the total amount of rain exceeds the 95th Percentile": "•Extreme rainfall are days where the total amount of rain exceeds the 95th Percentile•",
Expand Down Expand Up @@ -134,7 +129,6 @@
"Groundnuts": "•Groundnuts•",
"groundnuts": "•groundnuts•",
"guinea fowl": "•guinea fowl•",
"Harvesting": "•Harvesting•",
"harvesting": "•harvesting•",
"Heavy Rain": "•Heavy Rain•",
"Here we can see information for a specific crop variety": "•Here we can see information for a specific crop variety•",
Expand Down Expand Up @@ -163,6 +157,7 @@
"Just before the season": "•Just before the season•",
"labour - paid": "•labour - paid•",
"land clearing": "•land clearing•",
"Land Preparation": "•Land Preparation•",
"Learn and improve": "•Learn and improve•",
"Legend": "•Legend•",
"Length": "•Length•",
Expand Down Expand Up @@ -213,14 +208,12 @@
"Nov": "•Nov•",
"November": "•November•",
"Now you are ready to explore the crop information tool": "•Now you are ready to explore the crop information tool•",
"Number of Months": "•Number of Months•",
"Oct": "•Oct•",
"October": "•October•",
"onions": "•onions•",
"Only": "•Only•",
"Options": "•Options•",
"Options by context": "•Options by context•",
"Other": "•Other•",
"out of": "•out of•",
"Outputs": "•Outputs•",
"ox cart": "•ox cart•",
Expand All @@ -231,12 +224,10 @@
"Pigeon Peas": "•Pigeon Peas•",
"pigeon peas": "•pigeon peas•",
"pigs": "•pigs•",
"Please add the calender title": "•Please add the calender title•",
"ploughing": "•ploughing•",
"post-harvest handling": "•post-harvest handling•",
"pot for storage": "•pot for storage•",
"Practice": "•Practice•",
"Preparation": "•Preparation•",
"Print Version": "•Print Version•",
"Privacy Policy": "•Privacy Policy•",
"Probability": "•Probability•",
Expand Down Expand Up @@ -268,10 +259,10 @@
"Sat": "•Sat•",
"Saturday": "•Saturday•",
"Save": "•Save•",
"Save Copy": "•Save Copy•",
"Save your budget": "•Save your budget•",
"Saved Budgets": "•Saved Budgets•",
"Saved Calendars": "•Saved Calendars•",
"Season Crops": "•Season Crops•",
"Seasonal Calendar": "•Seasonal Calendar•",
"Seasonal forecast": "•Seasonal forecast•",
"Seasonal Rainfall": "•Seasonal Rainfall•",
Expand All @@ -281,7 +272,6 @@
"seeds": "•seeds•",
"Select": "•Select•",
"Select a site": "•Select a site•",
"Select Activity": "•Select Activity•",
"Select and amend": "•Select and amend•",
"Select Country": "•Select Country•",
"Select Enterprise": "•Select Enterprise•",
Expand All @@ -303,11 +293,11 @@
"Something went wrong...": "•Something went wrong...•",
"Sorghum": "•Sorghum•",
"sorghum": "•sorghum•",
"Sowing": "•Sowing•",
"sowing": "•sowing•",
"Soya Beans": "•Soya Beans•",
"soya beans": "•soya beans•",
"Start": "•Start•",
"Start Month ": "•Start Month •",
"Start of Season": "•Start of Season•",
"Start of season is defined as the first occasion (from 1st October) with more than 25mm in a 3 day period and no dry spell of 10 days or more within the following 30 days": "•Start of season is defined as the first occasion (from 1st October) with more than 25mm in a 3 day period and no dry spell of 10 days or more within the following 30 days•",
"starting in": "•starting in•",
Expand Down Expand Up @@ -362,14 +352,13 @@
"Tue": "•Tue•",
"Tuesday": "•Tuesday•",
"Type": "•Type•",
"Type other activity": "•Type other activity•",
"vaccinate": "•vaccinate•",
"vaccine": "•vaccine•",
"value addition": "•value addition•",
"Variety": "•Variety•",
"Watering": "•Watering•",
"watering": "•watering•",
"watermelon": "•watermelon•",
"weather condition": "•weather condition•",
"Wed": "•Wed•",
"Wednesday": "•Wednesday•",
"Weeding": "•Weeding•",
Expand Down
29 changes: 9 additions & 20 deletions libs/i18n/assets/en.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"": "",
"apply fertiliser": "apply fertiliser",
"apply pesticide": "apply pesticide",
"bagging": "bagging",
Expand Down Expand Up @@ -174,6 +175,11 @@
"Select Language": "Select Language",
"Show Options": "Show Options",
"Who is using?": "Who is using?",
"Apply Fertiliser": "Apply Fertiliser",
"Land Preparation": "Land Preparation",
"Sowing": "Sowing",
"Watering": "Watering",
"Weeding": "Weeding",
"Beans": "Beans",
"Cassava": "Cassava",
"Cotton": "Cotton",
Expand Down Expand Up @@ -319,6 +325,7 @@
"Submissions": "Submissions",
"Submit": "Submit",
"Activities": "Activities",
"Add": "Add",
"Add Option": "Add Option",
"Bad": "Bad",
"Benefits": "Benefits",
Expand Down Expand Up @@ -364,26 +371,8 @@
"Size": "Size",
"Title": "Title",
"Type": "Type",
"Add": "Add",
"Add Activity": "Add Activity",
"Calendar Time": "Calendar Time",
"Calender name": "Calender name",
"Create Calendar": "Create Calendar",
"Create calender ": "Create calender ",
"Drying": "Drying",
"Example Calendar": "Example Calendar",
"Extra information": "Extra information",
"Harvesting": "Harvesting",
"No saved calendars": "No saved calendars",
"Number of Months": "Number of Months",
"Other": "Other",
"Please add the calender title": "Please add the calender title",
"Preparation": "Preparation",
"Saved Calendars": "Saved Calendars",
"Season Crops": "Season Crops",
"Select Activity": "Select Activity",
"Start Month ": "Start Month ",
"Type other activity": "Type other activity",
"Weeding": "Weeding",
"weather condition": "weather condition"
"Save Copy": "Save Copy",
"Saved Calendars": "Saved Calendars"
}
23 changes: 6 additions & 17 deletions libs/i18n/assets/mw_ny.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"": "••",
"Above": "•Above•",
"Activities": "Zochitika",
"Activity": "•Activity•",
"Activity Flow Chart": "•Activity Flow Chart•",
"Add": "•Add•",
"Add Activity": "•Add Activity•",
"Add Card": "•Add Card•",
"add custom": "onjezani zipangizo",
"Add Female Member": "Onjezerani membala wa mkazi",
Expand All @@ -17,6 +17,7 @@
"All Submitted": "•All Submitted•",
"Analyse": "Kuzukuta",
"and": "•and•",
"Apply Fertiliser": "•Apply Fertiliser•",
"apply fertiliser": "kuthira feteleza",
"apply pesticide": "kopopela mankhwala a tizilombo",
"Apr": "•Apr•",
Expand All @@ -41,8 +42,6 @@
"build housing": "kumanga makola",
"Calculated by using FAO CLIMWAT 2.0 for Cropwat and Cropwat 8.0 and climate data for Nkhotakota Met Station.": "Kuwerengeredwa pogwiritsa ntchito FAO CLIMWAT 2.0 ya Cropwat ndi Cropwat 8.0 ndi uthenga wa zanyengo ya Nkhotakota Met Station.",
"Calculated with the date range of Start of rains and End of the rains": "•Calculated with the date range of Start of rains and End of the rains•",
"Calendar Time": "•Calendar Time•",
"Calender name": "•Calender name•",
"Cancel": "thetsani",
"Capacity of 100mm on 1st March reduces 0.5 with evaporation rate of 5mm per day": "•Capacity of 100mm on 1st March reduces 0.5 with evaporation rate of 5mm per day•",
"Cassava": "Chinangwa",
Expand All @@ -67,7 +66,6 @@
"Cowpeas": "•Cowpeas•",
"cowpeas": "khobwe",
"Create Calendar": "•Create Calendar•",
"Create calender ": "•Create calender •",
"Create New": "•Create New•",
"Create New Budget": "Pangani bajeti yatsopano",
"Crop": "•Crop•",
Expand All @@ -88,7 +86,6 @@
"Description (optional)": "Kufotokozera (Mukhoza osalemba)",
"dipping": "kupanga dipi ziweto",
"Download the PICSA Manual": "•Download the PICSA Manual•",
"Drying": "•Drying•",
"ducks": "abakha",
"During the season": "Mkatikati mwa sizoni/nyengo",
"Each row contains information about crop, variety, days to maturity and water requirement. Probabilities of receiving requirements are shown for different planting dates": "•Each row contains information about crop, variety, days to maturity and water requirement. Probabilities of receiving requirements are shown for different planting dates•",
Expand All @@ -100,9 +97,7 @@
"End of Season": "Mapeto a nyengo",
"End of season is defined as the last day in the season (1st October - 30th April) with more than 10mm of rainfall.": "Mapeto a nyengo akutanthauza tsiku lomaliza mu nyengo (1 okotobala mpaka 30 epulo) lomwe kwagwa mvula yoposa 10mm",
"Enterprise": "bizinesi",
"Example Calendar": "•Example Calendar•",
"Extension": "Ulangizi",
"Extra information": "•Extra information•",
"Extreme": "•Extreme•",
"Extreme Rainfall": "•Extreme Rainfall•",
"Extreme rainfall are days where the total amount of rain exceeds the 95th Percentile": "•Extreme rainfall are days where the total amount of rain exceeds the 95th Percentile•",
Expand Down Expand Up @@ -134,7 +129,6 @@
"Groundnuts": "•Groundnuts•",
"groundnuts": "mtedza",
"guinea fowl": "nkhanga",
"Harvesting": "•Harvesting•",
"harvesting": "kukolola",
"Heavy Rain": "•Heavy Rain•",
"Here we can see information for a specific crop variety": "•Here we can see information for a specific crop variety•",
Expand Down Expand Up @@ -163,6 +157,7 @@
"Just before the season": "Sizoni/nyengo isanayambe",
"labour - paid": "ganyu ",
"land clearing": "kusosa",
"Land Preparation": "•Land Preparation•",
"Learn and improve": "Kuphunzira ndi kukonza",
"Legend": "Zizindikiro",
"Length": "kutalika",
Expand Down Expand Up @@ -213,14 +208,12 @@
"Nov": "•Nov•",
"November": "•November•",
"Now you are ready to explore the crop information tool": "•Now you are ready to explore the crop information tool•",
"Number of Months": "•Number of Months•",
"Oct": "•Oct•",
"October": "•October•",
"onions": "anyezi",
"Only": "•Only•",
"Options": "Zisankho",
"Options by context": "Zisankho potengera nkhani",
"Other": "•Other•",
"out of": "kuchokera pa",
"Outputs": "zotuluka",
"ox cart": "ngolo",
Expand All @@ -231,12 +224,10 @@
"Pigeon Peas": "•Pigeon Peas•",
"pigeon peas": "nandolo",
"pigs": "nkhumba",
"Please add the calender title": "•Please add the calender title•",
"ploughing": "kugalauza",
"post-harvest handling": "kusamala zokolora",
"pot for storage": "mphika wongula zinthu",
"Practice": "•Practice•",
"Preparation": "•Preparation•",
"Print Version": "zoti zikhoza kusindikizidwa",
"Privacy Policy": "Mfundo zazinsinsi",
"Probability": "kuthekera koti zikhoza kuchitika",
Expand Down Expand Up @@ -268,10 +259,10 @@
"Sat": "•Sat•",
"Saturday": "Loweruka",
"Save": "sungani",
"Save Copy": "•Save Copy•",
"Save your budget": "sungani bajeti yanu",
"Saved Budgets": "bajeti zosungidwa",
"Saved Calendars": "•Saved Calendars•",
"Season Crops": "•Season Crops•",
"Seasonal Calendar": "Kalendala ya nyengo",
"Seasonal forecast": "ulosi wa nyengo",
"Seasonal Rainfall": "Mvula ya mu nyengo",
Expand All @@ -281,7 +272,6 @@
"seeds": "mbewu",
"Select": "sankhani",
"Select a site": "sankhani malo",
"Select Activity": "•Select Activity•",
"Select and amend": "sankhani ndipo sinthani",
"Select Country": "Sankhani Dziko",
"Select Enterprise": "sankhani mtundu wa bizinezi",
Expand All @@ -303,11 +293,11 @@
"Something went wrong...": "chinachake chinalakwika ...",
"Sorghum": "•Sorghum•",
"sorghum": "mapila",
"Sowing": "•Sowing•",
"sowing": "kufesa",
"Soya Beans": "•Soya Beans•",
"soya beans": "soya",
"Start": "Kuyamba",
"Start Month ": "•Start Month •",
"Start of Season": "chiyambi cha nyengo",
"Start of season is defined as the first occasion (from 1st October) with more than 25mm in a 3 day period and no dry spell of 10 days or more within the following 30 days": "chiymabi cha nyengo chimatanthauza mvula yoyamba (kuyambira pa 1 okotobala) yomwe yagwa kuposa mlingo wa 25mm mu masiku atatu ndipo kuti panalibe ng'amba ya masiku oposa khumi mu masiku makumi atatu kuchokera nthawi yomwe mvula inagwa.",
"starting in": "kuyambira mu",
Expand Down Expand Up @@ -362,14 +352,13 @@
"Tue": "•Tue•",
"Tuesday": "Lachiwiri",
"Type": "•Type•",
"Type other activity": "•Type other activity•",
"vaccinate": "kupereka katemela",
"vaccine": "katemera",
"value addition": "kuwonjezera phindu",
"Variety": "Mtundu wa mbewu",
"Watering": "•Watering•",
"watering": "kuthirira",
"watermelon": "mavwende",
"weather condition": "•weather condition•",
"Wed": "•Wed•",
"Wednesday": "Lachitatu",
"Weeding": "•Weeding•",
Expand Down
Loading

0 comments on commit 1d8334c

Please sign in to comment.