# HG changeset patch
# User Daniel Atallah <daniel.atallah@gmail.com>
# Date 1187360759 0
# Node ID 9e9f3442764c0c3d7a8d0edfcc60417d2d0193a3
# Parent  5f2c062cc40c55838ebea8d6eec859459914c7a3
New Persian win32 installer translation from Elnaz Sarbar. Fixes 2273.

diff -r 5f2c062cc40c -r 9e9f3442764c pidgin/Makefile.am
--- a/pidgin/Makefile.am	Fri Aug 17 12:45:10 2007 +0000
+++ b/pidgin/Makefile.am	Fri Aug 17 14:25:59 2007 +0000
@@ -46,6 +46,7 @@
 		win32/nsis/translations/kurdish.nsh \
 		win32/nsis/translations/lithuanian.nsh \
 		win32/nsis/translations/norwegian.nsh \
+		win32/nsis/translations/persian.nsh \
 		win32/nsis/translations/polish.nsh \
 		win32/nsis/translations/portuguese.nsh \
 		win32/nsis/translations/portuguese-br.nsh \
diff -r 5f2c062cc40c -r 9e9f3442764c pidgin/win32/nsis/pidgin-installer.nsi
--- a/pidgin/win32/nsis/pidgin-installer.nsi	Fri Aug 17 12:45:10 2007 +0000
+++ b/pidgin/win32/nsis/pidgin-installer.nsi	Fri Aug 17 14:25:59 2007 +0000
@@ -175,6 +175,8 @@
   !insertmacro MUI_LANGUAGE "TradChinese"
   !insertmacro MUI_LANGUAGE "German"
   !insertmacro MUI_LANGUAGE "Spanish"
+  !insertmacro MUI_LANGUAGE "Farsi"
+  !insertmacro MUI_LANGUAGE "Finnish"
   !insertmacro MUI_LANGUAGE "French"
   !insertmacro MUI_LANGUAGE "Hebrew"
   !insertmacro MUI_LANGUAGE "Italian"
@@ -193,7 +195,6 @@
   !insertmacro MUI_LANGUAGE "Serbian"
   !insertmacro MUI_LANGUAGE "Slovak"
   !insertmacro MUI_LANGUAGE "Slovenian"
-  !insertmacro MUI_LANGUAGE "Finnish"
   !insertmacro MUI_LANGUAGE "Swedish"
 
 ;--------------------------------
@@ -211,6 +212,7 @@
   !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "DANISH"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\danish.nsh"
   !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "DUTCH"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\dutch.nsh"
   !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "ENGLISH"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\english.nsh"
+  !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "FARSI"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\persian.nsh"
   !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "FINNISH"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\finnish.nsh"
   !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "FRENCH"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\french.nsh"
   !insertmacro PIDGIN_MACRO_INCLUDE_LANGFILE "GERMAN"		"${PIDGIN_NSIS_INCLUDE_PATH}\translations\german.nsh"
@@ -1175,7 +1177,7 @@
   IfErrors done_preselecting_shortcuts
     ;Does the Desktop shortcut exist?
     GetFileTime "$DESKTOP\Pidgin.lnk" $R0 $R0
-    IfErrors +1 +4
+    IfErrors +1 +5
     ClearErrors
     SetShellVarContext "all"
     GetFileTime "$DESKTOP\Pidgin.lnk" $R0 $R0
@@ -1230,16 +1232,6 @@
   IfErrors +2
   StrCmp $INSTDIR "" 0 instdir_done
 
-  ;If we wanted to reuse the previous gaim installation dir, this would be the way to do it:
-  ;ClearErrors
-  ;ReadRegStr $INSTDIR HKCU "${OLD_GAIM_REG_KEY}" ""
-  ;IfErrors +2
-  ;StrCmp $INSTDIR "" 0 instdir_done
-  ;ClearErrors
-  ;ReadRegStr $INSTDIR HKLM "${OLD_GAIM_REG_KEY}" ""
-  ;IfErrors +2
-  ;StrCmp $INSTDIR "" 0 instdir_done
-
   Call CheckUserInstallRights
   Pop $R0
 
diff -r 5f2c062cc40c -r 9e9f3442764c pidgin/win32/nsis/translations/persian.nsh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pidgin/win32/nsis/translations/persian.nsh	Fri Aug 17 14:25:59 2007 +0000
@@ -0,0 +1,84 @@
+;;
+;;  persian.nsh
+;;
+;;  Default language strings for the Windows Pidgin NSIS installer.
+;;  Windows Code page: CP1256
+;;  As this file needs to be encoded in CP1256 and CP1256 doesn't support U+06CC 
+;;  and U+0654 characters, I have removed all U+0654 characters and replaced U+06CC
+;;  with U+064A in the middle of the words and with U+0649 at the end of the words.
+;;  The Persian text will display correctly but the encoding is incorrect.
+;;
+;;  Author: Elnaz Sarbar <elnaz@farsiweb.info>, 2007
+
+; Startup Checks
+!define INSTALLER_IS_RUNNING			"簽��粐� 拝 淅� 湾 庸� 婆冉 排�."
+!define PIDGIN_IS_RUNNING			"煩簀竇 �輒辟 拝 淅� 湾 庸� 婆冉 排�. 痍歿� 拝 �輒辟 稜冖 壻� � �版刔 噐� �粱�."
+!define GTK_INSTALLER_NEEDED			"稷轂 吼売 婆冉� GTK+ 軫 飜耋 簣廃� 軫 畴吼 排� 廃舗覗 �輜� �簣.$\r痍歿� 簷励 ${GTK_MIN_VERSION} 軫 版畴変� 拝 稷轂 吼売� 婆冉� GTK+ 簽� �粱�"
+
+; License Page
+!define PIDGIN_LICENSE_BUTTON			"蛮� >"
+!define PIDGIN_LICENSE_BOTTOM_TEXT		"$(^Name) 瞥� 稾耙 昵聶� 繝�売� �粭 (GPL) 邃編� 塹� 排�. 剥� 稾耙 補綰 煩伯 背畴�决売� 剥簗� 廃覇� 塹� 排�. $_CLICK"
+
+; Components Page
+!define PIDGIN_SECTION_TITLE			"�廃�輛 �轉買�决売 剥篳刋母 �輒辟 (婆版剏)"
+!define GTK_SECTION_TITLE			"稷轂 吼売 婆冉� GTK+� (�� 飜耋 簣廃� 婆版剏 排�)"
+!define PIDGIN_SHORTCUTS_SECTION_TITLE		"竝売�樋刔�"
+!define PIDGIN_DESKTOP_SHORTCUT_SECTION_TITLE	"刎竝呟"
+!define PIDGIN_STARTMENU_SHORTCUT_SECTION_TITLE	"邃肚 胎拝"
+!define PIDGIN_SECTION_DESCRIPTION		"�刎簣�綰 � DLL綰� 杯瘡 �輒辟"
+!define GTK_SECTION_DESCRIPTION		"木斐�波卩� 冉磐 �廃煩 �冉沚�� �簣 飯変� �� �輒辟 拝 鯛 排保馬� 竚��簣"
+
+!define PIDGIN_SHORTCUTS_SECTION_DESCRIPTION	"竝売�樋刔伯 冉�売惑呟 �輒辟"
+!define PIDGIN_DESKTOP_SHORTCUT_DESC		"剥滅� 竝売�樋� 斐 �輒辟 刎� 刎竝呟"
+!define PIDGIN_STARTMENU_SHORTCUT_DESC		"剥滅� 竊冢 煩伯 �輒辟 湾 邃� 胎拝"
+
+; GTK+ Directory Page
+!define GTK_UPGRADE_PROMPT			"簷励� 渭辜� 稷轂 吼売 婆冉� GTK+ �輜� 塹. 瀧� 稠轣輜 鯛 冉 廃舗覗 �輜�$\r穂悶: $(^Name) 窿�� 排� 淅� 拝 廃舗覗 �廃 �簣."
+!define GTK_WINDOWS_INCOMPATIBLE		"肭簣耙 95/98�/Me 版 GTK�+� 簷励 2.8.0 軫 模輜変 喃�廃 粱喨. GTK+ ${GTK_INSTALL_VERSION} 簽� 篶翡縅 塹.$\r ��  GTK+ ${GTK_MIN_VERSION} 軫 模輜変 冉 淅畴� 簽� �冢�剥蓮 簽� 渫� 嶺賠� 塹."
+
+; Installer Finish Page
+!define PIDGIN_FINISH_VISIT_WEB_SITE		"斈羅 翦� �輒辟 冉 犯辟輜"
+
+; Pidgin Section Prompts and Texts
+!define PIDGIN_PROMPT_CONTINUE_WITHOUT_UNINSTALL	"熔� 簷励�伯 拝 �輒辟 �� 湾 庸� 庸嶂 簽� 排� 窿�� 粱喨. 簷励 模輜 範聹 熔� 簷励 竊紋� 簽� 竚�壻�."
+
+; GTK+ Section Prompts
+!define GTK_INSTALL_ERROR			"輪� 繖�買 簽� 稷轂 吼売 婆冉� GTK+�."
+!define GTK_BAD_INSTALL_PATH			"穩輛� �� 翡冢 �冢�剥� 淒悲 腕変嚮 軫 剥滅� 粱喨."
+
+; URL Handler section
+!define URI_HANDLERS_SECTION_TITLE		"稱嬾�綰� 簫売� 剥篳刋母"
+
+; Uninstall Section Prompts
+!define un.PIDGIN_UNINSTALL_ERROR_1		"熔��粐� 粃�穂売� 穗芭� registery ��辟 冉 �輜� �簣.$\r 窿�� 排� �廃煩 ��剏 剥� 煩簀竇 冉 簽� �冢� 版塹."
+!define un.PIDGIN_UNINSTALL_ERROR_2		"壯� 婆拝� 畴吼 煩伯 熔� 剥� 煩簀竇 冉 簣廃輜."
+
+; Spellcheck Section Prompts
+!define PIDGIN_SPELLCHECK_SECTION_TITLE	"�塋軾売� 栫�軫緋 買畴迪"
+!define PIDGIN_SPELLCHECK_ERROR		"輪� 繖�買 簽� 栫�軫� 買畴迪"
+!define PIDGIN_SPELLCHECK_DICT_ERROR		"輪� 繖�買 簽� 痙�簀竇 栫�軫� 買畴迪"
+!define PIDGIN_SPELLCHECK_SECTION_DESCRIPTION	"�塋軾売� 栫�軫緋 買畴迪. (煩伯 簽� 琶嫻� 剥篳刋母 畴吼 排�)"
+!define ASPELL_INSTALL_FAILED			"簽� �喨 嶺冢"
+!define PIDGIN_SPELLCHECK_BRETON		"煩頁粱剥�"
+!define PIDGIN_SPELLCHECK_CATALAN		"�琶煤売"
+!define PIDGIN_SPELLCHECK_CZECH		"���"
+!define PIDGIN_SPELLCHECK_WELSH		"肭痃�"
+!define PIDGIN_SPELLCHECK_DANISH		"惑粃廃��"
+!define PIDGIN_SPELLCHECK_GERMAN		"逮稠粲"
+!define PIDGIN_SPELLCHECK_GREEK		"辭簀粲"
+!define PIDGIN_SPELLCHECK_ENGLISH		"売�瘢嚮"
+!define PIDGIN_SPELLCHECK_ESPERANTO		"排�冉篳�"
+!define PIDGIN_SPELLCHECK_SPANISH		"排�売軫迪"
+!define PIDGIN_SPELLCHECK_FAROESE		"歿刎迪"
+!define PIDGIN_SPELLCHECK_FRENCH		"殫売嚀�"
+!define PIDGIN_SPELLCHECK_ITALIAN		"剥頁瘢剥�"
+!define PIDGIN_SPELLCHECK_DUTCH		"縺簣�"
+!define PIDGIN_SPELLCHECK_NORWEGIAN		"簪��"
+!define PIDGIN_SPELLCHECK_POLISH		"痳喨売�"
+!define PIDGIN_SPELLCHECK_PORTUGUESE		"�冓枅瘡"
+!define PIDGIN_SPELLCHECK_ROMANIAN		"刎稠粱剥�"
+!define PIDGIN_SPELLCHECK_RUSSIAN		"刎嚮"
+!define PIDGIN_SPELLCHECK_SLOVAK		"排瘋��"
+!define PIDGIN_SPELLCHECK_SWEDISH		"嚀届�"
+!define PIDGIN_SPELLCHECK_UKRAINIAN		"陪�冉辟�"
+
diff -r 5f2c062cc40c -r 9e9f3442764c po/ChangeLog
--- a/po/ChangeLog	Fri Aug 17 12:45:10 2007 +0000
+++ b/po/ChangeLog	Fri Aug 17 14:25:59 2007 +0000
@@ -9,6 +9,7 @@
 	* Lithuanian translation updated (Laurynas Biveinis)
 	* Macedonian translation updated (��舒仆亞亠仍 �仆亞仂于)
 	* Norwegian Nynorsk translation updated (Yngve Spjeld Landro)
+	* Persian win32 translation added (Elnaz Sarbar)
 	* Polish translation updated (Emil Nowak)
 	* Portuguese (Brazilian) translation updated (Mauricio de
 	  L R Collares Neto)