Commit 798c8aa
committed
Fix case-insensitive key lookups in view and data processing commands
Fixed bug where case-insensitive key matching was incorrectly matching
different keys (e.g., "Next" and "next") in filtering and data operations.
Changes:
- ViewCommand: Fix --status filter to use culture-filtered files when
--cultures is specified, and use exact key matching in FilterByStatus
- ExportCommand: Use exact key matching (6 occurrences)
- ImportCommand: Use exact key matching (1 occurrence)
- ValidateCommand: Use exact key matching (1 occurrence)
Impact:
- view --status empty now correctly filters by specified culture
- view --status empty excludes keys with values (e.g., "Next" with "Nextcloud")
- Export/Import/Validate commands now handle case-variant keys correctly
All 1,187 tests passing.1 parent 1eefde5 commit 798c8aa
File tree
4 files changed
+22
-18
lines changed- Commands
4 files changed
+22
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
| 701 | + | |
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
| 268 | + | |
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| 274 | + | |
273 | 275 | | |
274 | 276 | | |
275 | 277 | | |
| |||
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
297 | | - | |
| 299 | + | |
| 300 | + | |
298 | 301 | | |
299 | 302 | | |
300 | | - | |
| 303 | + | |
| 304 | + | |
301 | 305 | | |
302 | 306 | | |
303 | 307 | | |
| |||
1243 | 1247 | | |
1244 | 1248 | | |
1245 | 1249 | | |
1246 | | - | |
| 1250 | + | |
1247 | 1251 | | |
1248 | 1252 | | |
1249 | 1253 | | |
1250 | 1254 | | |
1251 | 1255 | | |
1252 | 1256 | | |
1253 | 1257 | | |
1254 | | - | |
| 1258 | + | |
1255 | 1259 | | |
1256 | 1260 | | |
1257 | 1261 | | |
1258 | 1262 | | |
1259 | | - | |
| 1263 | + | |
1260 | 1264 | | |
1261 | 1265 | | |
1262 | 1266 | | |
1263 | 1267 | | |
1264 | | - | |
| 1268 | + | |
1265 | 1269 | | |
1266 | 1270 | | |
1267 | 1271 | | |
| |||
1280 | 1284 | | |
1281 | 1285 | | |
1282 | 1286 | | |
1283 | | - | |
| 1287 | + | |
1284 | 1288 | | |
1285 | 1289 | | |
1286 | 1290 | | |
| |||
1289 | 1293 | | |
1290 | 1294 | | |
1291 | 1295 | | |
1292 | | - | |
| 1296 | + | |
1293 | 1297 | | |
1294 | 1298 | | |
1295 | 1299 | | |
| |||
1302 | 1306 | | |
1303 | 1307 | | |
1304 | 1308 | | |
1305 | | - | |
| 1309 | + | |
1306 | 1310 | | |
1307 | 1311 | | |
1308 | 1312 | | |
| |||
0 commit comments