From c419e726b19aa838f119c3d35fe31c237bf27ae1 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Fri, 25 Feb 2011 16:20:16 +0000 Subject: Added 'Localizable.strings' to bundle resources and added german translations. Other languages use english original. svn path=/trunk/netsurf/; revision=11796 --- cocoa/Makefile.target | 2 +- cocoa/NetSurf.xcodeproj/project.pbxproj | 18 ++++++++ cocoa/res/de.lproj/Localizable.strings | 78 ++++++++++++++++++++++++++++++++ cocoa/res/en.lproj/Localizable.strings | Bin 0 -> 3322 bytes cocoa/res/fr.lproj/Localizable.strings | Bin 0 -> 3322 bytes cocoa/res/it.lproj/Localizable.strings | Bin 0 -> 3322 bytes cocoa/res/nl.lproj/Localizable.strings | Bin 0 -> 3322 bytes 7 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 cocoa/res/de.lproj/Localizable.strings create mode 100644 cocoa/res/en.lproj/Localizable.strings create mode 100644 cocoa/res/fr.lproj/Localizable.strings create mode 100644 cocoa/res/it.lproj/Localizable.strings create mode 100644 cocoa/res/nl.lproj/Localizable.strings (limited to 'cocoa') diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target index 5a43c64a1..002dc4872 100644 --- a/cocoa/Makefile.target +++ b/cocoa/Makefile.target @@ -129,7 +129,7 @@ R_RESOURCES := default.css adblock.css quirks.css NetSurf.icns HomeTemplate.pdf R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES)) LANGUAGES := de en fr it nl -LOCALIZED_RESOURCES := Messages +LOCALIZED_RESOURCES := Messages Localizable.strings TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \ AquaTabClose_Front_Rollover.png \ diff --git a/cocoa/NetSurf.xcodeproj/project.pbxproj b/cocoa/NetSurf.xcodeproj/project.pbxproj index efa16c578..1e698f6db 100644 --- a/cocoa/NetSurf.xcodeproj/project.pbxproj +++ b/cocoa/NetSurf.xcodeproj/project.pbxproj @@ -169,6 +169,11 @@ 2612269412D7AEA800E10F91 /* en */ = {isa = PBXFileReference; lastKnownFileType = text; name = en; path = en.lproj/Messages; sourceTree = ""; }; 2612269512D7AEB500E10F91 /* it */ = {isa = PBXFileReference; lastKnownFileType = text; name = it; path = it.lproj/Messages; sourceTree = ""; }; 2612269612D7AEBE00E10F91 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text; name = fr; path = fr.lproj/Messages; sourceTree = ""; }; + 261DB22213180AFF00C59F12 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; + 261DB22613180B4F00C59F12 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = ""; }; + 261DB23313180CD600C59F12 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = ""; }; + 261DB23413180CE000C59F12 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; + 261DB23513180CEE00C59F12 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = ""; }; 2622F1D512DCD84600CD5A62 /* TreeView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TreeView.h; sourceTree = ""; }; 2622F1D612DCD84600CD5A62 /* TreeView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TreeView.m; sourceTree = ""; }; 2625095012F72A8F0090D236 /* PreferencesWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PreferencesWindow.xib; sourceTree = ""; }; @@ -581,6 +586,7 @@ 265F310F12D663C20048B600 /* Resources */ = { isa = PBXGroup; children = ( + 261DB22113180AFF00C59F12 /* Localizable.strings */, 2684028E1301848100850DA2 /* HomeTemplate.pdf */, 26AFE63E12DDEB0A005AD082 /* NetSurf.icns */, 2612268F12D7AE4100E10F91 /* Messages */, @@ -856,6 +862,18 @@ name = Messages; sourceTree = ""; }; + 261DB22113180AFF00C59F12 /* Localizable.strings */ = { + isa = PBXVariantGroup; + children = ( + 261DB22213180AFF00C59F12 /* en */, + 261DB22613180B4F00C59F12 /* de */, + 261DB23313180CD600C59F12 /* fr */, + 261DB23413180CE000C59F12 /* it */, + 261DB23513180CEE00C59F12 /* nl */, + ); + name = Localizable.strings; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ diff --git a/cocoa/res/de.lproj/Localizable.strings b/cocoa/res/de.lproj/Localizable.strings new file mode 100644 index 000000000..04180f485 --- /dev/null +++ b/cocoa/res/de.lproj/Localizable.strings @@ -0,0 +1,78 @@ +/* ... of (total size) */ +" of %@" = " von %@"; + +/* time remaining: hours, minutes */ +"%2:%02u hours" = "%1$:%2$u Stunden"; + +/* time remaining */ +"%u seconds" = "%u Sekunden"; + +/* time remaining: minutes, seconds */ +"%u:%02u minutes" = "%1$u:%2$u Minuten"; + +/* Context menu */ +"Back" = "Zurück"; + +/* Download */ +"Cancel download?" = "Download abbrechen?"; + +/* Context menu */ +"Copy image" = "Bild kopieren"; + +/* Context menu */ +"Copy link" = "Link kopieren"; + +/* No comment provided by engineer. */ +"Do you really want to close this window?" = "Wollen Sie dieses Fenster wirklich schließen?"; + +/* show error */ +"Error" = "Fehler"; + +/* Context menu */ +"Forward" = "Vorwärts"; + +/* time remaining */ +"less than 10 seconds" = "weniger als 10 Sekunden"; + +/* 'No' button */ +"No" = "Nein"; + +/* 'OK' button */ +"OK" = "OK"; + +/* Context menu */ +"Open image in new tab" = "Bild in neuem Tab öffnen"; + +/* Context menu */ +"Open image in new window" = "Bild in neuem Fenster öffnen"; + +/* Context menu */ +"Open link in new tab" = "Link in neuem Tab öffnen"; + +/* Context menu */ +"Open link in new window" = "Link in neuem Fenster öffnen"; + +/* Context menu */ +"Reload" = "Neu laden"; + +/* Context menu */ +"Save image as" = "Bild speichern"; + +/* Context menu */ +"Save link target" = "Linkziel speichern"; + +/* Download */ +"Should the download of '%@' really be cancelled?" = "Soll der Download von '%@' wirklich abgebrochen werden?"; + +/* No comment provided by engineer. */ +"There are %d tabs open, do you want to close them all?" = "Es sind noch %d tabs offen. Sollen alle geschlossen werden?"; + +/* Warning title */ +"Warning" = "Warnung"; + +/* Warning message */ +"Warning %s%s%s" = "Warnung %1$s%2$s%3$s"; + +/* 'Yes' button */ +"Yes" = "Ja"; + diff --git a/cocoa/res/en.lproj/Localizable.strings b/cocoa/res/en.lproj/Localizable.strings new file mode 100644 index 000000000..9ac7a7b4d Binary files /dev/null and b/cocoa/res/en.lproj/Localizable.strings differ diff --git a/cocoa/res/fr.lproj/Localizable.strings b/cocoa/res/fr.lproj/Localizable.strings new file mode 100644 index 000000000..9ac7a7b4d Binary files /dev/null and b/cocoa/res/fr.lproj/Localizable.strings differ diff --git a/cocoa/res/it.lproj/Localizable.strings b/cocoa/res/it.lproj/Localizable.strings new file mode 100644 index 000000000..9ac7a7b4d Binary files /dev/null and b/cocoa/res/it.lproj/Localizable.strings differ diff --git a/cocoa/res/nl.lproj/Localizable.strings b/cocoa/res/nl.lproj/Localizable.strings new file mode 100644 index 000000000..9ac7a7b4d Binary files /dev/null and b/cocoa/res/nl.lproj/Localizable.strings differ -- cgit v1.2.3