Commit graph

8 commits

Author SHA1 Message Date
Timon b487cc983f Refactor translation function and update reports to use new area unit preference
- Renamed translation function from `t` to `tr_key` for clarity and consistency.
- Updated all instances of translation calls in `90_CI_report_with_kpis_agronomic_support.Rmd` and `91_CI_report_with_kpis_cane_supply.Rmd` to use `tr_key`.
- Introduced a new helper function `get_area_unit_label` to manage area unit preferences across the project.
- Modified area calculations in `91_CI_report_with_kpis_cane_supply.Rmd` to utilize area from analysis data instead of recalculating.
- Added area unit preference setting in `parameters_project.R` to allow for flexible reporting in either hectares or acres.
- Updated `MANUAL_PIPELINE_RUNNER.R` to include language parameter for report generation.
- Adjusted translations in the `translations.xlsx` file to reflect changes in the report structure.
2026-02-24 12:16:44 +01:00
Timon 9afceea121 Enhance KPI calculation scripts and reporting:
- Update trend categorization thresholds in KPI calculations for clarity.
- Improve comments for better understanding of trend interpretations.
- Refactor report generation to use consistent terminology for trends.
- Add batch pipeline runner for weekly reporting across multiple dates.
- Minor formatting adjustments across various scripts for consistency.
2026-02-24 10:48:17 +01:00
Nik Verweel c0092d90a9 Fix alert table and finish first translation iteration 2026-02-23 16:06:02 +01:00
Nik Verweel 17f59edd70 Minor translation updates 2026-02-23 14:38:38 +01:00
Nik Verweel f583ea838b Corrected Spansih translations Jordi 2026-02-23 11:34:15 +01:00
Nik Verweel fd0e0d0cc6 Updated translations 2026-02-20 10:55:35 +01:00
Nik Verweel 24fd5bb8b3 Merge remote-tracking branch 'origin/code-improvements' into translation 2026-02-18 16:02:27 +01:00
Nik Verweel 4ba2d5d84f Upload translation strings 2026-02-18 15:36:08 +01:00