1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Merge pull request #879 from Gymnasiast/develop

Make the (up) and (new file) strings in the load/save dialog translatable
This commit is contained in:
Ted John
2015-02-27 11:23:43 +00:00
3 changed files with 8 additions and 8 deletions

View File

@@ -2720,8 +2720,8 @@ STR_2714 :-
STR_2715 :.
STR_2716 :/
STR_2717 :'
STR_2718 :???
STR_2719 :???
STR_2718 :(up)
STR_2719 :(new file)
STR_2720 :{UINT16}sec
STR_2721 :{UINT16}secs
STR_2722 :{UINT16}min:{UINT16}sec

View File

@@ -2720,8 +2720,8 @@ STR_2714 :-
STR_2715 :.
STR_2716 :/
STR_2717 :'
STR_2718 :???
STR_2719 :???
STR_2718 :(up)
STR_2719 :(new file)
STR_2720 :{UINT16}sec
STR_2721 :{UINT16}secs
STR_2722 :{UINT16}min:{UINT16}sec
@@ -2751,7 +2751,7 @@ STR_2745 :\
STR_2746 :]
STR_2747 :{ENDQUOTES}
STR_2748 :Bar
STR_2749 :???
STR_2749 :My new scenario

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