mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove Language and LanguageCode structures
Use ISO language codes directly instead, which has the advantage that new languages can be used in metadata without having up update the API to support them. Closes #5.
This commit is contained in:
@@ -12,6 +12,11 @@ String Encoding
|
||||
* File paths are case-sensitive if and only if the underlying file system is
|
||||
case-sensitive.
|
||||
|
||||
Language Codes
|
||||
==============
|
||||
|
||||
All language strings in the API are codes of the form ``ll`` or ``ll_CC``, where ``ll`` is an ISO 639-1 language code and ``CC`` is an ISO 3166 country code. For example, the default language for metadata message content is English, identified by the code ``en``, and Brazilian Portuguese is ``pt_BR``.
|
||||
|
||||
Errors
|
||||
======
|
||||
|
||||
|
||||
@@ -9,8 +9,6 @@ Enumerations
|
||||
|
||||
.. doxygenenum:: loot::GameType
|
||||
|
||||
.. doxygenenum:: loot::LanguageCode
|
||||
|
||||
.. doxygenenum:: loot::LogVerbosity
|
||||
|
||||
.. doxygenenum:: loot::MessageType
|
||||
@@ -58,9 +56,6 @@ Classes
|
||||
.. doxygenclass:: loot::File
|
||||
:members:
|
||||
|
||||
.. doxygenclass:: loot::Language
|
||||
:members:
|
||||
|
||||
.. doxygenclass:: loot::Location
|
||||
:members:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user