Recent Activities
This page shows what are we working on.
-
6.0.2
-
1.2.4
-
1.5.56
-
1.4.2
-
1.4.1
-
Version 1.4.1 8ca632
-
-
1.14.27
-
1.14.26
-
Version 1.14.26 8374b0
-
Merge pull request #74 from swissup/fix/issue-73-i18n-dictionary
Regenerate i18n dictionary, fix uncollectable and stale phrases ef2944 -
Regenerate i18n dictionary, fix uncollectable and stale phrases
`en_US.csv` had drifted well behind the source: 106 rows against the 196
phrases `i18n:collect-phrases` finds in the module. Regenerated it and
brought every locale file back in line with it.
Source fixes that had to come first:
- `listing.phtml` built the answer counter label as
`__($collection->getSize() == 1 ? 'answer' : 'answers')`. The phrase
collector cannot resolve a ternary inside `__()`, so it emitted the
literal `answer' 'answers` as a key — which every locale file then
faithfully translated, while the real `answer` and `answers` strings
stayed untranslatable. Moved the ternary outside the `__()` calls.
- `"id" is incorect` -> `"id" is incorrect` (CreateVote.php).
- `MassAssign.php` used `Assign to...` where the UI component label says
`Assign to ...`, producing two dictionary keys for one label. Unified
on `Assign to ...`.
Dictionary changes:
- `en_US.csv` regenerated from `i18n:collect-phrases`, 106 -> 196 rows.
This also drops the stray quoting on `It is helpful` and `Not much
help`, whose values were ` "It is helpful"` and ` "Not much help"` —
rendered on the frontend complete with the quotes.
- Removed 13 dead keys from every locale (`Hint`, `Askit Items`,
`New Askit Question`, `Answer Information`, `You saved.`, the
`${ $.$data.text }` UI-component leftovers, the misspelled
`We can't find a answer to delete.`, and the mangled
`answer' 'answers`).
- `fa_IR.csv`: removed a duplicate `Not much help` row whose value was
double-quoted, and folded the stray ` answer` key into `answer`.
- Normalised the leading space on the `asks` / `about` / `answer` /
`answers` values — the templates already prepend it.
- All files rewritten fully quoted.
Every locale now parses to exactly two columns per row, carries no
duplicate keys, and contains no key absent from `en_US.csv`.
Translating the newly exposed phrases is left to the translators;
coverage per locale is currently 44-49%.
Refs #73
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> 0c1b32 -
Merge pull request #72 from swissup/fix/issue-71-locale-csv
Fix malformed "Answer" row in locale files, add cs/sk/hu/ro 8b3f84 -
Fix malformed "Answer" row in locale files, add cs/sk/hu/ro
The "Answer" entry had an unclosed quote in 18 of 19 locale files:
"Answer,Answer
fgetcsv merged that line with the next one, so both "Answer" and
"Entity Type" were lost in every affected locale. Closing the quotes
restores them.
Also:
- add cs_CZ, sk_SK, hu_HU and ro_RO translations
- add the missing "Plain text only. HTML is not allowed.",
"Submit Question" and "Name" keys to en_US, de_DE, it_IT and nl_NL
Translations contributed by @dimdimich in #71. Over-escaped quotes
("""" instead of "") in the submitted hu_HU and ro_RO files were
corrected before merging. fa_IR was already well-formed and is
left untouched.
Fixes #71
Closes #70
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> 0381cd
-
-
1.4.5
-
Version 1.4.5 e34213
-