abbreviations-in-code
abbreviations-in-code copied to clipboard
Add "tr" for "translate" / "translation"
➕ New abbr {abbr}
translate {tr} translation {tr}
Rules
- Not an acronym (e.g. RAM, CPU, SQL) or conventions (e.g. i, j, k)
- Masculine singular noun form if possible
- Max 1 🟢 (Recommended) abbr
Compile the degrees of reccomendation (not all required)
{word}
- 🟢 {tr}
Briefly describe or provide examples about this abbr
using it as a translation function such as "tr('button.send')"
i know that common usage is t('button.send'), as a convention. but i find t( annoying when searching for it because it catches other things like useEffect( or new CustomEvent(
I think it's too generic https://en.wiktionary.org/wiki/tr.
https://en.wiktionary.org/wiki/transl.#:~:text=Noun-,transl.,Abbreviation%20of%20translation.