Patch: hard link texts - i18n



Hi,

The "hard link" dialog (File/Link menu item) has the same " Link "
text twice: as the dialog title and also as part of the " Link ... to:"
string. Since - at least in Hungarian; I don't know about other
languages - this string cannot be translated in a way that's
appropriate
for both places, I created a small patch that makes those two strings
independent of each other. Patch follows (between the dashed lines):

------------------------------------------------------
--- /usr/src/mc-4.6.0-pre1/src/cmd.c	Sun Sep 15 11:19:37 2002
+++ mc-4.6.0-pre1/src/cmd.c	Sun Sep 15 11:01:47 2002
@@ -1022,9 +1022,9 @@
     char *dest, *src;
 
     if (!symbolic_link){
-        src = g_strconcat (_(" Link "), name_trunc (fname, 46), 
+        src = g_strconcat (_("_: hardlink_target\n Link "), name_trunc
(fname, 46), 
             _(" to:"), NULL);
-	dest = input_expand_dialog (_(" Link "), src, "");
+	dest = input_expand_dialog (_("_: hardlink_dialog_title\n Link "),
src, "");
 	g_free (src);
 	if (!dest)
 	    return;
------------------------------------------------------


I have also attached the patch to the letter.




Arpad Biro



__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

Attachment: hardlinkpatch.zip
Description: hardlinkpatch.zip



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]