summaryrefslogtreecommitdiffstats
path: root/meta-linaro-integration/recipes-overlayed/firefox/firefox/iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro-integration/recipes-overlayed/firefox/firefox/iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch')
-rw-r--r--meta-linaro-integration/recipes-overlayed/firefox/firefox/iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-overlayed/firefox/firefox/iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch b/meta-linaro-integration/recipes-overlayed/firefox/firefox/iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch
new file mode 100644
index 0000000..277a35c
--- /dev/null
+++ b/meta-linaro-integration/recipes-overlayed/firefox/firefox/iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch
@@ -0,0 +1,61 @@
1From: Mike Hommey <mh@glandium.org>
2Date: Sat, 19 Feb 2011 11:02:30 +0100
3Subject: Use MOZ_APP_DISPLAYNAME to fill appstrings.properties
4
5---
6 browser/locales/Makefile.in | 2 ++
7 .../en-US/chrome/overrides/appstrings.properties | 20 ++++++++++----------
8 2 files changed, 12 insertions(+), 10 deletions(-)
9
10diff --git a/browser/locales/Makefile.in b/browser/locales/Makefile.in
11index b30a715..9f7befb 100644
12--- a/browser/locales/Makefile.in
13+++ b/browser/locales/Makefile.in
14@@ -69,6 +69,8 @@ SUBMAKEFILES += \
15 $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales/Makefile \
16 $(NULL)
17
18+DEFINES += -DMOZ_APP_DISPLAYNAME=$(MOZ_APP_DISPLAYNAME)
19+
20 # This makefile uses variable overrides from the libs-% target to
21 # build non-default locales to non-default dist/ locations. Be aware!
22
23diff --git a/browser/locales/en-US/chrome/overrides/appstrings.properties b/browser/locales/en-US/chrome/overrides/appstrings.properties
24index 87e9538..ac979f9 100644
25--- a/browser/locales/en-US/chrome/overrides/appstrings.properties
26+++ b/browser/locales/en-US/chrome/overrides/appstrings.properties
27@@ -35,24 +35,24 @@
28 # ***** END LICENSE BLOCK *****
29
30 malformedURI=The URL is not valid and cannot be loaded.
31-fileNotFound=Firefox can't find the file at %S.
32-dnsNotFound=Firefox can't find the server at %S.
33-protocolNotFound=Firefox doesn't know how to open this address, because the protocol (%S) isn't associated with any program.
34-connectionFailure=Firefox can't establish a connection to the server at %S.
35+#expand fileNotFound=__MOZ_APP_DISPLAYNAME__ can't find the file at %S.
36+#expand dnsNotFound=__MOZ_APP_DISPLAYNAME__ can't find the server at %S.
37+#expand protocolNotFound=__MOZ_APP_DISPLAYNAME__ doesn't know how to open this address, because the protocol (%S) isn't associated with any program.
38+#expand connectionFailure=__MOZ_APP_DISPLAYNAME__ can't establish a connection to the server at %S.
39 netInterrupt=The connection to %S was interrupted while the page was loading.
40 netTimeout=The server at %S is taking too long to respond.
41-redirectLoop=Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
42+#expand redirectLoop=__MOZ_APP_DISPLAYNAME__ has detected that the server is redirecting the request for this address in a way that will never complete.
43 ## LOCALIZATION NOTE (confirmRepostPrompt): In this item, don't translate "%S"
44 confirmRepostPrompt=To display this page, %S must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
45 resendButton.label=Resend
46-unknownSocketType=Firefox doesn't know how to communicate with the server.
47+#expand unknownSocketType=__MOZ_APP_DISPLAYNAME__ doesn't know how to communicate with the server.
48 netReset=The connection to the server was reset while the page was loading.
49 notCached=This document is no longer available.
50-netOffline=Firefox is currently in offline mode and can't browse the Web.
51+#expand netOffline=__MOZ_APP_DISPLAYNAME__ is currently in offline mode and can't browse the Web.
52 isprinting=The document cannot change while Printing or in Print Preview.
53-deniedPortAccess=This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.
54-proxyResolveFailure=Firefox is configured to use a proxy server that can't be found.
55-proxyConnectFailure=Firefox is configured to use a proxy server that is refusing connections.
56+#expand deniedPortAccess=This address uses a network port which is normally used for purposes other than Web browsing. __MOZ_APP_DISPLAYNAME__ has canceled the request for your protection.
57+#expand proxyResolveFailure=__MOZ_APP_DISPLAYNAME__ is configured to use a proxy server that can't be found.
58+#expand proxyConnectFailure=__MOZ_APP_DISPLAYNAME__ is configured to use a proxy server that is refusing connections.
59 contentEncodingError=The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
60 unsafeContentType=The page you are trying to view cannot be shown because it is contained in a file type that may not be safe to open. Please contact the website owners to inform them of this problem.
61 externalProtocolTitle=External Protocol Request