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:
Oliver Hamlet
2017-02-12 10:08:37 +00:00
parent 0dbdadf5ab
commit 4ffd784d87
29 changed files with 134 additions and 486 deletions
+5
View File
@@ -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
======
-5
View File
@@ -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: