diff --git a/CMakeLists.txt b/CMakeLists.txt index ee24cb8..8874273 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ function(setup_translations target) # Refresh translations on every build add_custom_command( - TARGET ${target} POST_BUILD + TARGET ${target} PRE_LINK COMMAND ${CMAKE_COMMAND} -E copy_directory ${TRANSLATIONS_PATH}/translations ${CMAKE_SOURCE_DIR}/resources/translations diff --git a/README.md b/README.md index 57ac051..c70c849 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,7 @@ Metadata is stored at the top of the file, and contains the following fields: ```json5 { "language-name": "English", // The name of the language in English - "language-code": "en_US", // The language code - "language-native": "English", // The name of the language in its native language + "language-native": "English", // The name of the language in its native form. "language-charset": "default", // The character set of the language "language-fallback": "en", // The fallback language code (defaults to English) @@ -38,7 +37,7 @@ Metadata is stored at the top of the file, and contains the following fields: } ``` -`language-name`, `language-code` and `language-native` are required and should be self-explanatory. +`language-name`, and `language-native` are required and should be self-explanatory. `language-charset` is optional and defaults to `default`. If the language uses a different character set, you can specify it here.