Skip to content

Commit ff3a834

Browse files
committed
updated translation files; there were outdated strings...
1 parent cce5ab0 commit ff3a834

File tree

7 files changed

+134
-116
lines changed

7 files changed

+134
-116
lines changed
-294 Bytes
Binary file not shown.

WWCS/irrigation/telegramBot/locale/kh/LC_MESSAGES/messages.po

Lines changed: 56 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-06-03 10:37+0200\n"
11-
"PO-Revision-Date: 2025-06-03 15:31+0200\n"
10+
"POT-Creation-Date: 2025-06-27 11:41+0200\n"
11+
"PO-Revision-Date: 2025-06-27 11:42+0200\n"
1212
"Last-Translator: Automatically generated\n"
1313
"Language-Team: none\n"
1414
"Language: kh\n"
@@ -32,14 +32,14 @@ msgstr "រក្សាទុកទិន្នន័យ / Save data"
3232
#: bot.py:199
3333
msgid "🔄 Please check the current water level in the channel and send its value"
3434
msgstr ""
35-
"🔄 សូមពិនិត្យមើលតួរលេខនៅក្នុងកុងទ័រទឹកចំការពិសោធរបស់អ្នក / Please check the current water level in the channel and send its "
36-
"value"
35+
"🔄 សូមពិនិត្យមើលតួរលេខនៅក្នុងកុងទ័រទឹកចំការពិសោធរបស់អ្នក / Please check the current water level in the "
36+
"channel and send its value"
3737

3838
#: bot.py:233
3939
msgid "⏰ Watering time is over! Please click the 'Save data' button to save the results."
4040
msgstr ""
41-
"⏰ បន្ទាប់ពីស្រោចទឹកហើយ! សូមចុចពាក្យ 'រក្សាទុកទិន្នន័យ' ដើម្បីរក្សាទុក 'លទ្ធផល' / Watering time is over! Please click the 'Save "
42-
"data' button to save the results."
41+
"⏰ បន្ទាប់ពីស្រោចទឹកហើយ! សូមចុចពាក្យ 'រក្សាទុកទិន្នន័យ' ដើម្បីរក្សាទុក 'លទ្ធផល' / Watering time is over! Please "
42+
"click the 'Save data' button to save the results."
4343

4444
#: bot.py:247 bot.py:254
4545
#, python-brace-format
@@ -56,13 +56,13 @@ msgstr ""
5656
#, python-brace-format
5757
msgid ""
5858
"Hello, {first_name}!\n"
59-
"If your irrigation complete please push Save data button and enter you counter numbers Before and After "
60-
"irrigation\n"
59+
"If your irrigation complete please push Save data button and enter you counter numbers Before "
60+
"and After irrigation\n"
6161
"and save your data"
6262
msgstr ""
6363
"សួស្ដ/Hello, {first_name}!\n"
64-
"ប្រសិនជាអ្នកបានស្រោចស្រពរួចរាល់ហើយ សូមចុចលើពាក្យរក្សាទុកទិន្នន័យនិងវាយ / If your irrigation complete please push Save data button "
65-
"and enter your \n"
64+
"ប្រសិនជាអ្នកបានស្រោចស្រពរួចរាល់ហើយ សូមចុចលើពាក្យរក្សាទុកទិន្នន័យនិងវាយ / If your irrigation complete please "
65+
"push Save data button and enter your \n"
6666
"លេខកុងទ័រទឹកមុនពេលស្រោចស្រព និងបន្ទាប់ពីស្រោចស្រពរួច / counter numbers Before and After irrigation\n"
6767
"និងចុចរក្សាទុកទិន្នន័យ / and save your data"
6868

@@ -73,13 +73,16 @@ msgstr "មិនបានសម្រេច / ERROR!"
7373
#: bot.py:354
7474
msgid "Enter the current water level in the channel (in cm):"
7575
msgstr ""
76-
"សូមបញ្ចូលតួរលេខបច្ចុប្បន្ននៅក្នុងកុងទ័រទឹកចំការពិសោធរបស់អ្នក (សង់ទីម៉ែត្រ) / Enter the current water level in the channel (in cm):"
76+
"សូមបញ្ចូលតួរលេខបច្ចុប្បន្ននៅក្នុងកុងទ័រទឹកចំការពិសោធរបស់អ្នក (សង់ទីម៉ែត្រ) / Enter the current water level in the "
77+
"channel (in cm):"
7778

7879
#: bot.py:358
7980
msgid "Please, send the counter value before irrigation (m³):"
80-
msgstr "សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកមុនពេលស្រោចស្រព (m³): / Please, send the counter value before irrigation (m³):"
81+
msgstr ""
82+
"សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកមុនពេលស្រោចស្រព (m³): / Please, send the counter value before "
83+
"irrigation (m³):"
8184

82-
#: bot.py:370 bot.py:403 bot.py:456 bot.py:485 bot.py:520 bot.py:556 bot.py:595 bot.py:657 bot.py:702
85+
#: bot.py:370 bot.py:403 bot.py:456 bot.py:521 bot.py:551 bot.py:590 bot.py:652 bot.py:697
8386
msgid "❌ Your data was not found in the system"
8487
msgstr "❌ទិន្នន័យរបស់អ្នកមិនត្រូវបានរកឃើញនៅក្នុងប្រព័ន្ធទេ / Your data was not found in the system"
8588

@@ -102,15 +105,15 @@ msgid ""
102105
"⚠️ Incorrect water level! Acceptable values from 1 to 25 cm.\n"
103106
"Please enter the correct value:"
104107
msgstr ""
105-
"⚠️ តួរលេខមិនត្រឹមត្រូវ! តួរលេខដែលអាចបញ្ចូលបានគឺពី 1 ទៅ 25 សង់ទីម៉ែត្រ / Incorrect water level! Acceptable values from 1 to 25 "
106-
"cm.\n"
108+
"⚠️ តួរលេខមិនត្រឹមត្រូវ! តួរលេខដែលអាចបញ្ចូលបានគឺពី 1 ទៅ 25 សង់ទីម៉ែត្រ / Incorrect water level! Acceptable "
109+
"values from 1 to 25 cm.\n"
107110
"\"សូមបញ្ចូលតួរលេខ៖ / Please enter the correct value:"
108111

109-
#: bot.py:436 bot.py:715
112+
#: bot.py:436 bot.py:710
110113
msgid "✅ Irrigation completed! Enough water."
111114
msgstr "✅ ស្រោចស្រពរួចរាល់ហើយ! ទឹកគ្រប់គ្រាន់ / Irrigation completed! Enough water."
112115

113-
#: bot.py:442 bot.py:721
116+
#: bot.py:442 bot.py:716
114117
#, python-brace-format
115118
msgid ""
116119
"💦 Current level: {water_level} cm\n"
@@ -123,47 +126,54 @@ msgstr ""
123126

124127
#: bot.py:458
125128
msgid "⚠️ Please enter a valid number (water level in cm)"
126-
msgstr "⚠️ សូមបញ្ចូលតួរលេខដែលត្រឹមត្រូវ (កម្រិតទឹកគិតជាសង់ទីម៉ែត្រ) / Please enter a valid number (water level in cm)"
129+
msgstr ""
130+
"⚠️ សូមបញ្ចូលតួរលេខដែលត្រឹមត្រូវ (កម្រិតទឹកគិតជាសង់ទីម៉ែត្រ) / Please enter a valid number (water level in cm)"
127131

128132
#: bot.py:473
129133
msgid "Please, send your counter number after irrigation (m³):"
130134
msgstr ""
131-
"សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកបន្ទាប់ពីស្រោចស្រពរួច (m³): / Please, send your counter number after irrigation (m³):"
135+
"សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកបន្ទាប់ពីស្រោចស្រពរួច (m³): / Please, send your counter number after "
136+
"irrigation (m³):"
132137

133138
#: bot.py:478
134139
msgid "Please, send your counter number BEFORE irrigation (m³)"
135-
msgstr "សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកមុនពេលស្រោចស្រព (m³): / Please, send your counter number BEFORE irrigation (m³)"
136-
137-
#: bot.py:483
138-
msgid "Wrong fieldtype"
139-
msgstr "តួរលេខបានបញ្ចូលមិនត្រឹមត្រូវ / Wrong fieldtype"
140+
msgstr ""
141+
"សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកមុនពេលស្រោចស្រព (m³): / Please, send your counter number BEFORE "
142+
"irrigation (m³)"
140143

141-
#: bot.py:512
144+
#: bot.py:505
142145
#, python-brace-format
143146
msgid "✅ Data saved! Used: {used_m3:.2f} m³"
144147
msgstr "✅ ទិន្នន័យត្រូវបានរក្សាទុក! បានប្រើ៖ {used_m3:.2f} m³ / Data saved! Used: {used_m3:.2f} m³"
145148

146-
#: bot.py:523
149+
#: bot.py:511
147150
msgid "⚠️ Error saving data"
148151
msgstr "⚠️ ការរក្សាទុកទិន្នន័យមិនបានសម្រេច / Error saving data"
149152

150-
#: bot.py:525
151-
msgid "Enter actual water consumption (m³):"
152-
msgstr "បញ្ចូលតួរលេខការប្រើប្រាស់ទឹកជាក់ស្តែងក្នុងកុងទ័រចំការពិសោធ (m³)៖ / Enter actual water consumption (m³):"
153+
#: bot.py:514
154+
msgid "❌ No active irrigation session found"
155+
msgstr ""
156+
157+
#: bot.py:518
158+
msgid "Wrong fieldtype"
159+
msgstr "តួរលេខបានបញ្ចូលមិនត្រឹមត្រូវ / Wrong fieldtype"
153160

154-
#: bot.py:541
161+
#: bot.py:536
155162
msgid "Now send counter value AFTER irrigation (m³)"
156-
msgstr "សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកបន្ទាប់ពីស្រោចស្រពរួច (m³): / Now send counter value AFTER irrigation (m³)"
163+
msgstr ""
164+
"សូមបញ្ចូលតួរលេខកុងទ័រទឹកចំការពិសោធរបស់អ្នកបន្ទាប់ពីស្រោចស្រពរួច (m³): / Now send counter value AFTER irrigation "
165+
"(m³)"
157166

158-
#: bot.py:544 bot.py:598 bot.py:661
167+
#: bot.py:539 bot.py:593 bot.py:656
159168
msgid "⚠️ Type correct number (like 125.5)"
160169
msgstr "⚠️ សូមបញ្ចូលតួរលេខកុងទ័រទឹកដែលត្រឹមត្រូវ / Type correct number (like 125.5)"
161170

162-
#: bot.py:562
171+
#: bot.py:557
163172
msgid "⚠️ Error: start value is greater than end value!"
164-
msgstr "⚠️ មិនត្រឹមត្រូវ៖ តួរលេខចាប់ផ្ដើមនៃកុងទ័រទឹកធំជាងតួលេខចុងក្រោយ! / Error: start value is greater than end value!"
173+
msgstr ""
174+
"⚠️ មិនត្រឹមត្រូវ៖ តួរលេខចាប់ផ្ដើមនៃកុងទ័រទឹកធំជាងតួលេខចុងក្រោយ! / Error: start value is greater than end value!"
165175

166-
#: bot.py:584 bot.py:645 bot.py:692
176+
#: bot.py:579 bot.py:640 bot.py:687
167177
#, python-brace-format
168178
msgid ""
169179
"✅ Data saved!\n"
@@ -174,31 +184,35 @@ msgstr ""
174184
"ទឹកប្រើប្រាស់៖ {used_m3:.2f} m³ / Water used: {used_m3:.2f} m³\n"
175185
"ស្មើនឹង៖ {actual_mm:.2f} mm / Equivalent to: {actual_mm:.2f} mm"
176186

177-
#: bot.py:615
187+
#: bot.py:610
178188
msgid "❌ Error: No start data found"
179189
msgstr "❌ មិនបានសម្រេច៖ រកទិន្នន័យចាប់ផ្ដើមមិនឃើញ / Error: No start data found"
180190

181-
#: bot.py:622
191+
#: bot.py:617
182192
msgid ""
183193
"⚠️ Error: The initial value of the counter cannot be greater than the final value!\n"
184194
"Please enter correct data."
185195
msgstr ""
186-
"⚠️ មិនបានសម្រេច៖ តួរលេខកុងទ័រទឹកចាប់ផ្ដើមមិនអាចធំជាងតួរលេខកុងទ័រទឹកចុងក្រោយនោះទេ! / Error: The initial value of the counter cannot "
187-
"be greater than the final value!\n"
196+
"⚠️ មិនបានសម្រេច៖ តួរលេខកុងទ័រទឹកចាប់ផ្ដើមមិនអាចធំជាងតួរលេខកុងទ័រទឹកចុងក្រោយនោះទេ! / Error: The initial value of "
197+
"the counter cannot be greater than the final value!\n"
188198
"សូមបញ្ចូលតួរលេខកុងទ័រទឹកដែលត្រឹមត្រូវ / Please enter correct data."
189199

190-
#: bot.py:704
200+
#: bot.py:699
191201
msgid "⚠️ Please enter a valid number (e.g. 150 or 75.5)"
192202
msgstr "⚠️ សូមបញ្ចូលតួរលេខដែលត្រឹមត្រូវ (ឧ. 150 ឬ 75.5) / Please enter a valid number (e.g. 150 or 75.5)"
193203

194-
#: bot.py:735
204+
#: bot.py:730
195205
msgid "❌ Unsupported field type"
196206
msgstr "❌ ទិន្នន័យដែលបានបញ្ចូលមិនត្រឹមត្រូវ / Unsupported field type"
197207

198-
#: bot.py:739
208+
#: bot.py:734
199209
msgid "⚠️ Input data error"
200210
msgstr "⚠️ កំហុសក្នុងការបញ្ចូលទិន្នន័យ / Input data error"
201211

212+
#~ msgid "Enter actual water consumption (m³):"
213+
#~ msgstr ""
214+
#~ "បញ្ចូលតួរលេខការប្រើប្រាស់ទឹកជាក់ស្តែងក្នុងកុងទ័រចំការពិសោធ (m³)៖ / Enter actual water consumption (m³):"
215+
202216
#, python-brace-format
203217
#~ msgid ""
204218
#~ "✅ Data saved!\n"

WWCS/irrigation/telegramBot/locale/messages.pot

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-06-03 10:37+0200\n"
11+
"POT-Creation-Date: 2025-06-27 11:41+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -69,8 +69,8 @@ msgstr ""
6969
msgid "Please, send the counter value before irrigation (m³):"
7070
msgstr ""
7171

72-
#: bot.py:370 bot.py:403 bot.py:456 bot.py:485 bot.py:520 bot.py:556 bot.py:595
73-
#: bot.py:657 bot.py:702
72+
#: bot.py:370 bot.py:403 bot.py:456 bot.py:521 bot.py:551 bot.py:590 bot.py:652
73+
#: bot.py:697
7474
msgid "❌ Your data was not found in the system"
7575
msgstr ""
7676

@@ -91,11 +91,11 @@ msgid ""
9191
"Please enter the correct value:"
9292
msgstr ""
9393

94-
#: bot.py:436 bot.py:715
94+
#: bot.py:436 bot.py:710
9595
msgid "✅ Irrigation completed! Enough water."
9696
msgstr ""
9797

98-
#: bot.py:442 bot.py:721
98+
#: bot.py:442 bot.py:716
9999
#, python-brace-format
100100
msgid ""
101101
"💦 Current level: {water_level} cm\n"
@@ -115,62 +115,62 @@ msgstr ""
115115
msgid "Please, send your counter number BEFORE irrigation (m³)"
116116
msgstr ""
117117

118-
#: bot.py:483
119-
msgid "Wrong fieldtype"
120-
msgstr ""
121-
122-
#: bot.py:512
118+
#: bot.py:505
123119
#, python-brace-format
124120
msgid "✅ Data saved! Used: {used_m3:.2f} m³"
125121
msgstr ""
126122

127-
#: bot.py:523
123+
#: bot.py:511
128124
msgid "⚠️ Error saving data"
129125
msgstr ""
130126

131-
#: bot.py:525
132-
msgid "Enter actual water consumption (m³):"
127+
#: bot.py:514
128+
msgid "❌ No active irrigation session found"
129+
msgstr ""
130+
131+
#: bot.py:518
132+
msgid "Wrong fieldtype"
133133
msgstr ""
134134

135-
#: bot.py:541
135+
#: bot.py:536
136136
msgid "Now send counter value AFTER irrigation (m³)"
137137
msgstr ""
138138

139-
#: bot.py:544 bot.py:598 bot.py:661
139+
#: bot.py:539 bot.py:593 bot.py:656
140140
msgid "⚠️ Type correct number (like 125.5)"
141141
msgstr ""
142142

143-
#: bot.py:562
143+
#: bot.py:557
144144
msgid "⚠️ Error: start value is greater than end value!"
145145
msgstr ""
146146

147-
#: bot.py:584 bot.py:645 bot.py:692
147+
#: bot.py:579 bot.py:640 bot.py:687
148148
#, python-brace-format
149149
msgid ""
150150
"✅ Data saved!\n"
151151
"Water used: {used_m3:.2f} m³\n"
152152
"Equivalent to: {actual_mm:.2f} mm"
153153
msgstr ""
154154

155-
#: bot.py:615
155+
#: bot.py:610
156156
msgid "❌ Error: No start data found"
157157
msgstr ""
158158

159-
#: bot.py:622
159+
#: bot.py:617
160160
msgid ""
161161
"⚠️ Error: The initial value of the counter cannot be greater than the final "
162162
"value!\n"
163163
"Please enter correct data."
164164
msgstr ""
165165

166-
#: bot.py:704
166+
#: bot.py:699
167167
msgid "⚠️ Please enter a valid number (e.g. 150 or 75.5)"
168168
msgstr ""
169169

170-
#: bot.py:735
170+
#: bot.py:730
171171
msgid "❌ Unsupported field type"
172172
msgstr ""
173173

174-
#: bot.py:739
174+
#: bot.py:734
175175
msgid "⚠️ Input data error"
176176
msgstr ""
-123 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)