shell32: Fix the Chinese translations.

Michael Stefaniuc mstefani at redhat.de
Tue May 27 17:04:46 CDT 2008


---
A STRINGTABLE resource consists of a block of 16 strings. If a string
doesn't exist in a STRINGTABLE resource/block it will be set to the
empty string; there is no fallback to the English string! Only if the
whole STRINGTABLE resource/block is empty the fallback to English will
happen. Removing the English strings from a block and thus emtying the
STRINGTABLE will permit the fallback to the English resources and "fix"
the missing strings.



 dlls/shell32/shell32_Cn.rc |   12 ++++++------
 dlls/shell32/shell32_Zh.rc |   12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dlls/shell32/shell32_Cn.rc b/dlls/shell32/shell32_Cn.rc
index 0f9dec7..cef902c 100644
--- a/dlls/shell32/shell32_Cn.rc
+++ b/dlls/shell32/shell32_Cn.rc
@@ -41,16 +41,18 @@ BEGIN
 	END
 END
 
-SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
+SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
 CAPTION "¹ØÓÚ %s"
 FONT 10, "MS Shell Dlg"
 {
- DEFPUSHBUTTON "È·¶¨", IDOK, 153, 133, 50, 12, WS_TABSTOP
+ DEFPUSHBUTTON "È·¶¨", IDOK, 153, 133, 60, 12, WS_TABSTOP
+ PUSHBUTTON "Wine &license...", IDC_ABOUT_LICENSE, 153, 113, 60, 12, WS_TABSTOP
  LISTBOX IDC_ABOUT_LISTBOX, 8, 65, 137, 82, LBS_NOTIFY | WS_VSCROLL | WS_BORDER
  ICON "", stc1, 10, 10, 30, 30
- LTEXT "", IDC_ABOUT_STATIC_TEXT1, 40, 10, 137, 10
- LTEXT "", IDC_ABOUT_STATIC_TEXT2, 40, 22, 137, 10
+ LTEXT "", IDC_ABOUT_STATIC_TEXT1, 40, 10, 170, 10
+ LTEXT "", IDC_ABOUT_STATIC_TEXT2, 40, 22, 170, 10
+ LTEXT "Running on %s", IDC_ABOUT_STATIC_TEXT3, 42, 34, 170, 10
  LTEXT "Wine was brought to you by:", IDC_ABOUT_WINE_TEXT, 8, 55, 137, 10
 }
 
@@ -80,8 +82,6 @@ BEGIN
 	IDS_SHV_COLUMN7		"Ê£Óà¿Õ¼ä"
 	IDS_SHV_COLUMN8		"Name" /*FIXME*/
 	IDS_SHV_COLUMN9		"Comments" /*FIXME*/
-
-	IDS_NEWFOLDER		"New Folder"
 END
 
 #pragma code_page(default)
diff --git a/dlls/shell32/shell32_Zh.rc b/dlls/shell32/shell32_Zh.rc
index 86a25aa..763c279 100644
--- a/dlls/shell32/shell32_Zh.rc
+++ b/dlls/shell32/shell32_Zh.rc
@@ -41,16 +41,18 @@ BEGIN
 	END
 END
 
-SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
+SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 220, 152
 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
 CAPTION "êPì¶ %s"
 FONT 8, "MS Shell Dlg"
 {
- DEFPUSHBUTTON "´_¶¨", IDOK, 153, 133, 50, 12, WS_TABSTOP
+ DEFPUSHBUTTON "´_¶¨", IDOK, 153, 133, 60, 12, WS_TABSTOP
+ PUSHBUTTON "Wine &license...", IDC_ABOUT_LICENSE, 153, 113, 60, 12, WS_TABSTOP
  LISTBOX IDC_ABOUT_LISTBOX, 8, 65, 137, 82, LBS_NOTIFY | WS_VSCROLL | WS_BORDER
  ICON "", stc1, 10, 10, 30, 30
- LTEXT "", IDC_ABOUT_STATIC_TEXT1, 40, 10, 137, 10
- LTEXT "", IDC_ABOUT_STATIC_TEXT2, 40, 22, 137, 10
+ LTEXT "", IDC_ABOUT_STATIC_TEXT1, 40, 10, 170, 10
+ LTEXT "", IDC_ABOUT_STATIC_TEXT2, 40, 22, 170, 10
+ LTEXT "Running on %s", IDC_ABOUT_STATIC_TEXT3, 42, 34, 170, 10
  LTEXT "Wine was brought to you by:", IDC_ABOUT_WINE_TEXT, 8, 55, 137, 10
 }
 
@@ -80,8 +82,6 @@ BEGIN
 	IDS_SHV_COLUMN7		"Ê£ðN¿Õég"
 	IDS_SHV_COLUMN8		"Name" /*FIXME*/
 	IDS_SHV_COLUMN9		"Comments" /*FIXME*/
-
-	IDS_NEWFOLDER		"New Folder"
 END
 
 #pragma code_page(default)
-- 
1.5.6.rc0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080528/d4fe86a0/attachment-0001.pgp 


More information about the wine-patches mailing list