1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Make (up) and (new file) strings translatable

This commit is contained in:
Michael Steenbeek
2015-02-27 10:46:12 +01:00
parent baebedad4f
commit d6d71e6fe6

View File

@@ -502,7 +502,7 @@ static void window_loadsave_populate_list(int includeNewItem, bool browsable, co
}
if (!topLevel){
listItem = &_listItems[_listItemsCount];
strncpy(listItem->name, "(up) ", sizeof(listItem->name));
strncpy(listItem->name, language_get_string(2718), sizeof(listItem->name));
memset(listItem->path, '\0', MAX_PATH);
strncpy(listItem->path, directory, lastSlash + 1);
_listItemsCount++;
@@ -511,7 +511,7 @@ static void window_loadsave_populate_list(int includeNewItem, bool browsable, co
if (includeNewItem) {
listItem = &_listItems[_listItemsCount];
strncpy(listItem->name, "(new file)", sizeof(listItem->name));
strncpy(listItem->name, language_get_string(2719), sizeof(listItem->name));
listItem->path[0] = 0;
_listItemsCount++;
}
@@ -749,4 +749,4 @@ static void window_overwrite_prompt_paint()
}
#pragma endregion
#pragma endregion