netsurf: branch master updated. e0f17a8d350c41f5dd304b7968a60bfec84c5b06

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Sat Nov 3 16:26:46 GMT 2012


Gitweb links:

...log http://git.netsurf-browser.org/netsurf.git/shortlog/e0f17a8d350c41f5dd304b7968a60bfec84c5b06
...commit http://git.netsurf-browser.org/netsurf.git/commit/e0f17a8d350c41f5dd304b7968a60bfec84c5b06
...tree http://git.netsurf-browser.org/netsurf.git/tree/e0f17a8d350c41f5dd304b7968a60bfec84c5b06

The branch, master has been updated
       via  e0f17a8d350c41f5dd304b7968a60bfec84c5b06 (commit)
      from  d5c88d5e8e49b87c8871d2a3e92dcb95ee7f0ca0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff http://git.netsurf-browser.org/netsurf.git/commitdiff/e0f17a8d350c41f5dd304b7968a60bfec84c5b06
commit e0f17a8d350c41f5dd304b7968a60bfec84c5b06
Author: Vincent Sanders <vince at netsurf-browser.org>
Commit: Vincent Sanders <vince at netsurf-browser.org>

    fix cocoa Message generation

diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 82900b6..fa1f7a0 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -146,7 +146,7 @@ R_RESOURCES := default.css adblock.css internal.css quirks.css NetSurf.icns Home
 R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES))
 
 LANGUAGES := de en fr it nl
-LOCALIZED_RESOURCES := Messages Localizable.strings
+LOCALIZED_RESOURCES := Localizable.strings
 
 TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
 	AquaTabClose_Front_Rollover.png \
@@ -163,12 +163,16 @@ TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
 
 R_RESOURCES += $(addprefix cocoa/PSMTabBarControl/Images/,$(TABBAR_RESOURCES))
 
+#languiage project macro
+# $1 is language name
+# $2 is list of resources per language 
 define make_lproj 
 R_RESOURCES += $$(OBJROOT)/$(1).lproj
 $$(OBJROOT)/$(1).lproj: $(2)
 	$(VQ)echo Bundling language $(1)
 	$(Q)mkdir -p $$@
 	$(Q)cp -pLR $(2) $$@
+	$(Q)$(PERL) utils/split-messages.pl $(1) cocoa < resources/FatMessages > $$@/Messages
 endef
 
 # compile_xib (xib) (lang)


-----------------------------------------------------------------------

Summary of changes:
 cocoa/Makefile.target |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 82900b6..fa1f7a0 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -146,7 +146,7 @@ R_RESOURCES := default.css adblock.css internal.css quirks.css NetSurf.icns Home
 R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES))
 
 LANGUAGES := de en fr it nl
-LOCALIZED_RESOURCES := Messages Localizable.strings
+LOCALIZED_RESOURCES := Localizable.strings
 
 TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
 	AquaTabClose_Front_Rollover.png \
@@ -163,12 +163,16 @@ TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
 
 R_RESOURCES += $(addprefix cocoa/PSMTabBarControl/Images/,$(TABBAR_RESOURCES))
 
+#languiage project macro
+# $1 is language name
+# $2 is list of resources per language 
 define make_lproj 
 R_RESOURCES += $$(OBJROOT)/$(1).lproj
 $$(OBJROOT)/$(1).lproj: $(2)
 	$(VQ)echo Bundling language $(1)
 	$(Q)mkdir -p $$@
 	$(Q)cp -pLR $(2) $$@
+	$(Q)$(PERL) utils/split-messages.pl $(1) cocoa < resources/FatMessages > $$@/Messages
 endef
 
 # compile_xib (xib) (lang)


-- 
NetSurf Browser



More information about the netsurf-commits mailing list