aboutsummaryrefslogtreecommitdiff
path: root/core/text/i18n
Commit message (Collapse)AuthorAgeFilesLines
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days2-3/+1
|
* Remove all `core:os` imports from JS targetsJeroen van Rijn6 days5-25/+56
| | | | Fix `local_tz_name` on FreeBSD.
* core:text/i18n -> core:os/os2Jeroen van Rijn7 days3-38/+23
|
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-283-3/+3
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* Spell check i18n.odin.Jeroen van Rijn2024-06-191-74/+38
|
* Spell check doc.odin.Jeroen van Rijn2024-06-191-32/+20
|
* Separate the I18N calls for immutable strings and for pluraliseable strings.Maurizio M. Gavioli2024-06-192-46/+144
| | | | Also update tests.
* Port `testing\core\text\i18n`Jeroen van Rijn2024-06-021-2/+0
|
* i18n: Add section merge + duplicate key detection to gettext.Jeroen van Rijn2024-05-171-4/+15
|
* Fix .mo contextsJeroen van Rijn2024-05-171-15/+23
| | | | | | | Fixes #3590 - `get("key")` - `get("context", "key")`
* Fix .mo parser: Number of pluralsJeroen van Rijn2024-05-171-3/+3
| | | | | | Fixes #3591 Added plur.mo to tests
* Fix #3451 - `core:text/i18n` default `number` value in `get_*_section` proc.Maurizio M. Gavioli2024-04-191-2/+2
| | | | | | In the to procs `get_single_section()` and `get_by_section()` the `number` parameter should have a default of `1` rather than `0`. See the issue for more details.
* Fix the format of some `doc.odin` files of the `core` library which did not ↵Maurizio M. Gavioli2024-04-141-95/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made into the documentation. `c/frontend/tokenizer`: add proper "Example:" header to demo example code, removed empty lines. `container/bit_array`: moved comment before package; aligned narrative lines to left margin; converted case lines into bulleted lines ("- "); converted individual examples to single-tab-indented preformatted text. `dynlib`: removed "//+build ignore" line; added newline at EOF. `image/netpmb`: converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists; "Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments; doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists); removed empy lines. `os/os2`: WIP, not modified `sys/info`: removed "//+build ignore" line; converted tab-indented initial description into regular left-margin comment; moved uncommented sample code within the doc comment as an "Example:"; moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings; removed now empty comments and blank lines after the package line. `text/i18n`: removed "//+build ignore" line; moved the pacakge line at the end; de-indented the tab-indented introductory narrative; moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading; removed "```" MD attempts at code formatting. `text/table`: unindented the comment lines of a descriptive kind; headlines of major subdivisions are marked as bold; kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting; removed in-between blank lines.
* correct newly found vetsLaytan Laats2024-04-031-1/+1
|
* Remove default valuegingerBill2023-09-301-1/+1
|
* Minor cleanups to the core librarygingerBill2023-09-301-9/+8
|
* Use `or_break` and `or_continue` where appropriate in the core librarygingerBill2023-09-301-12/+3
|
* Fix #2684Jeroen van Rijn2023-07-282-8/+36
|
* Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵gingerBill2023-06-261-2/+2
| | | | `switch`/`for` statements
* Fix +build ignoregingerBill2022-11-041-1/+1
|
* Fix `i18n`gingerBill2022-08-082-7/+7
|
* Convert all uses of `*_from_slice` to `*_from_bytes` where appropriategingerBill2022-05-162-6/+6
|
* [i18n] Enable *nix tests again.Jeroen van Rijn2022-04-291-9/+9
|
* [i18n] Fix segfault on destroy on LinuxJeroen van Rijn2022-04-292-11/+18
| | | | Forgot to intern the section string in QT TS loader.
* [i18n] Add tests.Jeroen van Rijn2022-04-295-106/+129
|
* [i18n/xml] Move I18N XML files to their own assets directory.Jeroen van Rijn2022-04-293-63/+0
|
* [i18n] Move to `core:text/i18n`.Jeroen van Rijn2022-04-297-0/+649