Spaces:
Sleeping
Sleeping
Commit ·
0ca34e9
1
Parent(s): 5834719
Translate Expected text in leaf upload container to Malaysian
Browse files- modules/upload.py +1 -1
- utils/translations.py +2 -1
modules/upload.py
CHANGED
|
@@ -835,7 +835,7 @@ def upload_section():
|
|
| 835 |
with st.container():
|
| 836 |
st.markdown(f"#### 🍃 {t('upload_leaf_title')}")
|
| 837 |
st.markdown(t('upload_leaf_desc'))
|
| 838 |
-
st.info("📋 **Expected:** Leaf analysis with N%, P%, K%, Mg%, Ca%, B, Cu, Zn content, etc.")
|
| 839 |
|
| 840 |
leaf_file = st.file_uploader(
|
| 841 |
t('upload_leaf_file'),
|
|
|
|
| 835 |
with st.container():
|
| 836 |
st.markdown(f"#### 🍃 {t('upload_leaf_title')}")
|
| 837 |
st.markdown(t('upload_leaf_desc'))
|
| 838 |
+
st.info(f"📋 **{t('upload_expected', 'Expected')}:** {t('upload_leaf_expected', 'Leaf analysis with N%, P%, K%, Mg%, Ca%, B, Cu, Zn content, etc.')}")
|
| 839 |
|
| 840 |
leaf_file = st.file_uploader(
|
| 841 |
t('upload_leaf_file'),
|
utils/translations.py
CHANGED
|
@@ -82,12 +82,13 @@ TRANSLATIONS = {
|
|
| 82 |
'upload_tip': 'Tip: Upload both soil and leaf analysis reports for comprehensive analysis.',
|
| 83 |
'upload_soil_title': 'Soil Analysis',
|
| 84 |
'upload_soil_desc': 'Upload **soil test reports** for nutrient analysis',
|
|
|
|
| 85 |
'upload_soil_expected': 'Expected: Soil analysis with pH, organic carbon, available P, exchangeable cations, etc.',
|
| 86 |
'upload_soil_file': 'Choose soil analysis file',
|
| 87 |
'upload_soil_help': 'Upload SP LAB soil analysis reports',
|
| 88 |
'upload_leaf_title': 'Leaf Analysis',
|
| 89 |
'upload_leaf_desc': 'Upload **leaf test reports** for nutrient deficiency analysis',
|
| 90 |
-
'upload_leaf_expected': '
|
| 91 |
'upload_leaf_file': 'Choose leaf analysis file',
|
| 92 |
'upload_leaf_help': 'Upload SP LAB leaf analysis reports',
|
| 93 |
'upload_land_size': 'Land Size',
|
|
|
|
| 82 |
'upload_tip': 'Tip: Upload both soil and leaf analysis reports for comprehensive analysis.',
|
| 83 |
'upload_soil_title': 'Soil Analysis',
|
| 84 |
'upload_soil_desc': 'Upload **soil test reports** for nutrient analysis',
|
| 85 |
+
'upload_expected': 'Expected',
|
| 86 |
'upload_soil_expected': 'Expected: Soil analysis with pH, organic carbon, available P, exchangeable cations, etc.',
|
| 87 |
'upload_soil_file': 'Choose soil analysis file',
|
| 88 |
'upload_soil_help': 'Upload SP LAB soil analysis reports',
|
| 89 |
'upload_leaf_title': 'Leaf Analysis',
|
| 90 |
'upload_leaf_desc': 'Upload **leaf test reports** for nutrient deficiency analysis',
|
| 91 |
+
'upload_leaf_expected': 'Leaf analysis with N%, P%, K%, Mg%, Ca%, B, Cu, Zn content, etc.',
|
| 92 |
'upload_leaf_file': 'Choose leaf analysis file',
|
| 93 |
'upload_leaf_help': 'Upload SP LAB leaf analysis reports',
|
| 94 |
'upload_land_size': 'Land Size',
|