From 1bd7347779538a85c58572b453a6ba5040050c33 Mon Sep 17 00:00:00 2001 From: vspader Date: Sun, 3 Jun 2007 15:07:12 +0000 Subject: [PATCH] Made help localizable. --- Cog.xcodeproj/project.pbxproj | 16 ++++++++++++---- {Help => English.lproj/Help}/Help.helpindex | Bin .../Help}/images/files_off.png | Bin .../Help}/images/info_off.png | Bin {Help => English.lproj/Help}/images/logo.png | Bin .../Help}/images/next_gray.png | Bin .../Help}/images/play_gray.png | Bin .../Help}/images/prev_gray.png | Bin .../Help}/images/repeat_off.png | Bin .../Help}/images/shuffle_off.png | Bin {Help => English.lproj/Help}/images/wheel.png | Bin {Help => English.lproj/Help}/index.html | 0 Scripts/load_localization.sh | 2 ++ Scripts/update_strings.sh | 1 + 14 files changed, 15 insertions(+), 4 deletions(-) rename {Help => English.lproj/Help}/Help.helpindex (100%) rename {Help => English.lproj/Help}/images/files_off.png (100%) rename {Help => English.lproj/Help}/images/info_off.png (100%) rename {Help => English.lproj/Help}/images/logo.png (100%) rename {Help => English.lproj/Help}/images/next_gray.png (100%) rename {Help => English.lproj/Help}/images/play_gray.png (100%) rename {Help => English.lproj/Help}/images/prev_gray.png (100%) rename {Help => English.lproj/Help}/images/repeat_off.png (100%) rename {Help => English.lproj/Help}/images/shuffle_off.png (100%) rename {Help => English.lproj/Help}/images/wheel.png (100%) rename {Help => English.lproj/Help}/index.html (100%) diff --git a/Cog.xcodeproj/project.pbxproj b/Cog.xcodeproj/project.pbxproj index 443a8b97d..9597385ed 100644 --- a/Cog.xcodeproj/project.pbxproj +++ b/Cog.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 1705F1510B8BCB0C00C8B40D /* Help in Resources */ = {isa = PBXBuildFile; fileRef = 1705F1420B8BCB0C00C8B40D /* Help */; }; 170680630B950158006BA573 /* Growl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 170680620B950158006BA573 /* Growl.framework */; }; 170680840B950164006BA573 /* Growl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 170680620B950158006BA573 /* Growl.framework */; }; 171678C00AC8C39E00C28CF3 /* SmartFolderNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 171678BE0AC8C39E00C28CF3 /* SmartFolderNode.m */; }; @@ -84,6 +83,7 @@ 17BB5CFB0B8A86350009ACB1 /* CoreAudioKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17BB5CF80B8A86350009ACB1 /* CoreAudioKit.framework */; }; 17BB5EA60B8A87850009ACB1 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17BB5EA50B8A87850009ACB1 /* IOKit.framework */; }; 17E41E070C130DFF00AC744D /* Credits.html in Resources */ = {isa = PBXBuildFile; fileRef = 17E41E060C130DFF00AC744D /* Credits.html */; }; + 17E41E230C130EE200AC744D /* Help in Resources */ = {isa = PBXBuildFile; fileRef = 17E41E220C130EE200AC744D /* Help */; }; 17E94E530C03B09500D92B9B /* CogAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17E94E520C03B09500D92B9B /* CogAudio.framework */; }; 17E94E560C03B09A00D92B9B /* CogAudio.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 17E94E520C03B09500D92B9B /* CogAudio.framework */; }; 17F94CC20B8D08FB00A34E87 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17F94CC10B8D08FB00A34E87 /* Sparkle.framework */; }; @@ -161,7 +161,7 @@ /* Begin PBXFileReference section */ 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 1705F1420B8BCB0C00C8B40D /* Help */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Help; sourceTree = ""; }; + 1705F1420B8BCB0C00C8B40D /* English */ = {isa = PBXFileReference; lastKnownFileType = folder; name = English; path = English.lproj/Help; sourceTree = ""; }; 170680620B950158006BA573 /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Growl.framework; path = ThirdParty/Frameworks/Growl.framework; sourceTree = ""; }; 171678BD0AC8C39E00C28CF3 /* SmartFolderNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SmartFolderNode.h; sourceTree = ""; }; 171678BE0AC8C39E00C28CF3 /* SmartFolderNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SmartFolderNode.m; sourceTree = ""; }; @@ -598,7 +598,7 @@ 8E07AD280AAC9BE600A4B32F /* Preference Panes */, 8E75758E09F31D800080F1EE /* Icons */, 177EC02D0B8BC2E60000BC8C /* Images */, - 1705F1420B8BCB0C00C8B40D /* Help */, + 17E41E220C130EE200AC744D /* Help */, 8D1107310486CEB800E47090 /* Info.plist */, 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, 8E7575D909F31E930080F1EE /* Localizable.strings */, @@ -792,7 +792,7 @@ 177EC0530B8BC2FF0000BC8C /* remove_gray.png in Resources */, 177EC0580B8BC2FF0000BC8C /* volume_high.png in Resources */, 177EC0590B8BC2FF0000BC8C /* volume_low.png in Resources */, - 1705F1510B8BCB0C00C8B40D /* Help in Resources */, + 17E41E230C130EE200AC744D /* Help in Resources */, 1766C8920B912FB4004A7AE4 /* files_off.png in Resources */, 1766C8930B912FB4004A7AE4 /* files_on.png in Resources */, 1766C8940B912FB4004A7AE4 /* info_off.png in Resources */, @@ -899,6 +899,14 @@ name = Credits.html; sourceTree = ""; }; + 17E41E220C130EE200AC744D /* Help */ = { + isa = PBXVariantGroup; + children = ( + 1705F1420B8BCB0C00C8B40D /* English */, + ); + name = Help; + sourceTree = ""; + }; 29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = { isa = PBXVariantGroup; children = ( diff --git a/Help/Help.helpindex b/English.lproj/Help/Help.helpindex similarity index 100% rename from Help/Help.helpindex rename to English.lproj/Help/Help.helpindex diff --git a/Help/images/files_off.png b/English.lproj/Help/images/files_off.png similarity index 100% rename from Help/images/files_off.png rename to English.lproj/Help/images/files_off.png diff --git a/Help/images/info_off.png b/English.lproj/Help/images/info_off.png similarity index 100% rename from Help/images/info_off.png rename to English.lproj/Help/images/info_off.png diff --git a/Help/images/logo.png b/English.lproj/Help/images/logo.png similarity index 100% rename from Help/images/logo.png rename to English.lproj/Help/images/logo.png diff --git a/Help/images/next_gray.png b/English.lproj/Help/images/next_gray.png similarity index 100% rename from Help/images/next_gray.png rename to English.lproj/Help/images/next_gray.png diff --git a/Help/images/play_gray.png b/English.lproj/Help/images/play_gray.png similarity index 100% rename from Help/images/play_gray.png rename to English.lproj/Help/images/play_gray.png diff --git a/Help/images/prev_gray.png b/English.lproj/Help/images/prev_gray.png similarity index 100% rename from Help/images/prev_gray.png rename to English.lproj/Help/images/prev_gray.png diff --git a/Help/images/repeat_off.png b/English.lproj/Help/images/repeat_off.png similarity index 100% rename from Help/images/repeat_off.png rename to English.lproj/Help/images/repeat_off.png diff --git a/Help/images/shuffle_off.png b/English.lproj/Help/images/shuffle_off.png similarity index 100% rename from Help/images/shuffle_off.png rename to English.lproj/Help/images/shuffle_off.png diff --git a/Help/images/wheel.png b/English.lproj/Help/images/wheel.png similarity index 100% rename from Help/images/wheel.png rename to English.lproj/Help/images/wheel.png diff --git a/Help/index.html b/English.lproj/Help/index.html similarity index 100% rename from Help/index.html rename to English.lproj/Help/index.html diff --git a/Scripts/load_localization.sh b/Scripts/load_localization.sh index 551e1e862..4cc256535 100755 --- a/Scripts/load_localization.sh +++ b/Scripts/load_localization.sh @@ -24,5 +24,7 @@ nibtool -d Localizations/$language/PreferencesUI.strings Preferences/General/Eng cp Localizations/$language/MainProgram.strings $language.lproj/Localizable.strings cp Localizations/$language/PreferencesProgram.strings Preferences/General/$language.lproj/Localizable.strings cp Localizations/$language/Credits.html $language.lproj/Credits.html +cp -r English.lproj/Help $language.lproj/ +cp Localizations/$language/help.html $language.lproj/Help/index.html diff --git a/Scripts/update_strings.sh b/Scripts/update_strings.sh index 025e2325d..cb487b395 100755 --- a/Scripts/update_strings.sh +++ b/Scripts/update_strings.sh @@ -10,4 +10,5 @@ nibtool -L Preferences/General/English.lproj/Preferences.nib > Localizations/Eng cp English.lproj/Localizable.strings Localizations/English/MainProgram.strings cp Preferences/General/English.lproj/Localizable.strings Localizations/English/PreferencesProgram.strings cp English.lproj/Credits.html Localizations/English/Credits.html +cp English.lproj/Help/index.html Localizations/English/help.html