mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
45 lines
1.4 KiB
Rust
45 lines
1.4 KiB
Rust
/// Translation document instructions
|
|
///
|
|
/// In order to keep localization documents readible please follow the following
|
|
/// rules:
|
|
/// - separate the string map sections using a commentary describing the purpose
|
|
/// of the next section
|
|
/// - prepend multi-line strings with a commentary
|
|
/// - append one blank lines after a multi-line strings and two after sections
|
|
///
|
|
/// To add a new language in Veloren, just write an additional `.ron` file in
|
|
/// `assets/voxygen/i18n` and that's it!
|
|
///
|
|
/// WARNING: Localization files shall be saved in UTF-8 format without BOM
|
|
|
|
/// Lokalisering for norsk bokmål
|
|
(
|
|
metadata: (
|
|
language_name: "Norsk bokmål (Norwegian Bokmål)",
|
|
language_identifier: "nb",
|
|
),
|
|
convert_utf8_to_ascii: false,
|
|
fonts: {
|
|
"opensans": Font (
|
|
asset_key: "voxygen.font.OpenSans-Regular",
|
|
scale_ratio: 1.0,
|
|
),
|
|
"metamorph": Font (
|
|
asset_key: "voxygen.font.Metamorphous-Regular",
|
|
scale_ratio: 1.0,
|
|
),
|
|
"alkhemi": Font (
|
|
asset_key: "voxygen.font.Alkhemikal",
|
|
scale_ratio: 1.0,
|
|
),
|
|
"wizard": Font (
|
|
asset_key: "voxygen.font.wizard",
|
|
scale_ratio: 1.0,
|
|
),
|
|
"cyri": Font (
|
|
asset_key: "voxygen.font.haxrcorp_4089_cyrillic_altgr_extended",
|
|
scale_ratio: 1.0,
|
|
),
|
|
}
|
|
)
|