mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
fix cocoa Message generation
This commit is contained in:
parent
d5c88d5e8e
commit
e0f17a8d35
@ -146,7 +146,7 @@ R_RESOURCES := default.css adblock.css internal.css quirks.css NetSurf.icns Home
|
|||||||
R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES))
|
R_RESOURCES := $(addprefix cocoa/res/,$(R_RESOURCES))
|
||||||
|
|
||||||
LANGUAGES := de en fr it nl
|
LANGUAGES := de en fr it nl
|
||||||
LOCALIZED_RESOURCES := Messages Localizable.strings
|
LOCALIZED_RESOURCES := Localizable.strings
|
||||||
|
|
||||||
TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
|
TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
|
||||||
AquaTabClose_Front_Rollover.png \
|
AquaTabClose_Front_Rollover.png \
|
||||||
@ -163,12 +163,16 @@ TABBAR_RESOURCES := AquaTabClose_Front_Pressed.png \
|
|||||||
|
|
||||||
R_RESOURCES += $(addprefix cocoa/PSMTabBarControl/Images/,$(TABBAR_RESOURCES))
|
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
|
define make_lproj
|
||||||
R_RESOURCES += $$(OBJROOT)/$(1).lproj
|
R_RESOURCES += $$(OBJROOT)/$(1).lproj
|
||||||
$$(OBJROOT)/$(1).lproj: $(2)
|
$$(OBJROOT)/$(1).lproj: $(2)
|
||||||
$(VQ)echo Bundling language $(1)
|
$(VQ)echo Bundling language $(1)
|
||||||
$(Q)mkdir -p $$@
|
$(Q)mkdir -p $$@
|
||||||
$(Q)cp -pLR $(2) $$@
|
$(Q)cp -pLR $(2) $$@
|
||||||
|
$(Q)$(PERL) utils/split-messages.pl $(1) cocoa < resources/FatMessages > $$@/Messages
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# compile_xib (xib) (lang)
|
# compile_xib (xib) (lang)
|
||||||
|
Loading…
Reference in New Issue
Block a user