shlwapi: Add a message context for 'hr', 'min' and 'sec'.

Francois Gouget fgouget at free.fr
Mon Sep 5 02:10:10 CDT 2011


The message context serves both to avoid future translation conflicts and as documentation for the translator.
---

'min' is ambiguous (abbreviation of 'minimum'?) the others a bit less. 
All other unit names have a 'unit' context so it makes sense to have one 
here too.

 dlls/shlwapi/shlwapi.rc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shlwapi/shlwapi.rc b/dlls/shlwapi/shlwapi.rc
index 5ff2dda..a360b20 100644
--- a/dlls/shlwapi/shlwapi.rc
+++ b/dlls/shlwapi/shlwapi.rc
@@ -25,9 +25,9 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 STRINGTABLE
 {
     IDS_BYTES_FORMAT    "%ld bytes"
-    IDS_TIME_INTERVAL_HOURS    " hr"
-    IDS_TIME_INTERVAL_MINUTES  " min"
-    IDS_TIME_INTERVAL_SECONDS  " sec"
+    IDS_TIME_INTERVAL_HOURS    "#msgctxt#time unit: hours# hr"
+    IDS_TIME_INTERVAL_MINUTES  "#msgctxt#time unit: minutes# min"
+    IDS_TIME_INTERVAL_SECONDS  "#msgctxt#time unit: seconds# sec"
 }
 
 #define WINE_FILENAME_STR "shlwapi.dll"
-- 
1.7.5.4




More information about the wine-patches mailing list