From d6d71e6fe64d4d966282f2da67815cba0f33ebaa Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Fri, 27 Feb 2015 10:46:12 +0100 Subject: [PATCH] Make (up) and (new file) strings translatable --- src/windows/loadsave.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/windows/loadsave.c b/src/windows/loadsave.c index fa4be0c4d5..8bafaf6606 100644 --- a/src/windows/loadsave.c +++ b/src/windows/loadsave.c @@ -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 \ No newline at end of file +#pragma endregion