From 3ac1838cba725705a96a9d7b65721b15f4ec67b1 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Fri, 26 Aug 2011 14:37:27 +0200 Subject: Moved everything to a js module, removed custom xpcom interfaces --- locale/en-US/browserOverlay.xul.dtd | 9 +++++ locale/en-US/editRedirect.xul.dtd | 14 ++++++++ locale/en-US/redirector.properties | 33 +++++++++++++++++++ locale/en-US/settings.xul.dtd | 65 +++++++++++++++++++++++++++++++++++++ locale/zh-CN/browserOverlay.xul.dtd | 9 +++++ locale/zh-CN/editRedirect.xul.dtd | 14 ++++++++ locale/zh-CN/redirector.properties | 33 +++++++++++++++++++ locale/zh-CN/settings.xul.dtd | 65 +++++++++++++++++++++++++++++++++++++ 8 files changed, 242 insertions(+) create mode 100644 locale/en-US/browserOverlay.xul.dtd create mode 100644 locale/en-US/editRedirect.xul.dtd create mode 100644 locale/en-US/redirector.properties create mode 100644 locale/en-US/settings.xul.dtd create mode 100644 locale/zh-CN/browserOverlay.xul.dtd create mode 100644 locale/zh-CN/editRedirect.xul.dtd create mode 100644 locale/zh-CN/redirector.properties create mode 100644 locale/zh-CN/settings.xul.dtd (limited to 'locale') diff --git a/locale/en-US/browserOverlay.xul.dtd b/locale/en-US/browserOverlay.xul.dtd new file mode 100644 index 0000000..3aaa0fc --- /dev/null +++ b/locale/en-US/browserOverlay.xul.dtd @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/locale/en-US/editRedirect.xul.dtd b/locale/en-US/editRedirect.xul.dtd new file mode 100644 index 0000000..4b48d9c --- /dev/null +++ b/locale/en-US/editRedirect.xul.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/locale/en-US/redirector.properties b/locale/en-US/redirector.properties new file mode 100644 index 0000000..128d08e --- /dev/null +++ b/locale/en-US/redirector.properties @@ -0,0 +1,33 @@ +# $Id$ +initError=Failed to initialize Redirector. +extensions.redirector@einaregilsson.com.description=Automatically redirects to user-defined urls on certain pages +extensionName=Redirector +addCurrentUrl=Add current url to Redirector +addLinkUrl=Add link url to Redirector +recursiveError=A redirect with the pattern %S matches %S and is trying to redirect to it again. You should change this rule so it won't work recursively. +enabledTooltip=Redirector is enabled +disabledTooltip=Redirector is disabled +testPatternSuccess=The pattern %S matches example URL %S, and would redirect you to url: %S +testPatternFailure=The pattern %S does not match example URL %S +testPatternExclude=Example URL %S matches the exclude pattern %S and so would not be redirected +regexPatternError=The pattern '%S' is not a legal regular expression pattern. Details: %S +xpathDeprecated=XPath patterns are no longer supported as of version 1.5.1, please remove those redirects. +redirectorFiles=Redirector files (*.rdx) +exportCaption=Export redirects... +importCaption=Import redirects... +deleteConfirmationText=Are you sure you want to permanently delete this redirect? +deleteConfirmationTitle=Delete redirect? +importedMessage=%S redirects were imported +importedMessageSingular=%S redirect was imported +existedMessage=%S redirects were identical to existing redirects and were therefore not imported. +existedMessageSingular=%S redirect was identical to an existing redirect and was therefore not imported. +allExistedMessage=All %S redirects in the file were identical to existing redirects, no redirects were imported. +allExistedMessageSingular=The single redirect in the file was identical to an existing redirect and was therefore not imported. +importedNone=There were no usable redirects in the given file, no redirects were imported. +importResult=Import results +invalidRedirectTitle=Redirector Add-on: Invalid Redirect detected +invalidRedirectText=The pattern "%S" redirected the url %S to %S which also matches the pattern. This will cause an endless loop and so the redirect has been disabled to prevent this from happening. You should edit this redirect to fix it. +warningExampleUrlDoesntMatchPatternTitle=Warning: Example url does not match redirect +warningExampleUrlDoesntMatchPattern=The example url does not match the redirect specified. Are you sure you want to save this redirect? +errorExampleUrlMatchesRecursiveTitle=Error: Recursive match detected +errorExampleUrlMatchesRecursive=The example url %S matches the redirect and would redirect you to %S, which also matches the redirect. This is not allowed as it can cause an endless loop of requests. \ No newline at end of file diff --git a/locale/en-US/settings.xul.dtd b/locale/en-US/settings.xul.dtd new file mode 100644 index 0000000..ff55b68 --- /dev/null +++ b/locale/en-US/settings.xul.dtd @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/locale/zh-CN/browserOverlay.xul.dtd b/locale/zh-CN/browserOverlay.xul.dtd new file mode 100644 index 0000000..b0567f8 --- /dev/null +++ b/locale/zh-CN/browserOverlay.xul.dtd @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/locale/zh-CN/editRedirect.xul.dtd b/locale/zh-CN/editRedirect.xul.dtd new file mode 100644 index 0000000..f0ab422 --- /dev/null +++ b/locale/zh-CN/editRedirect.xul.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/locale/zh-CN/redirector.properties b/locale/zh-CN/redirector.properties new file mode 100644 index 0000000..866ec1a --- /dev/null +++ b/locale/zh-CN/redirector.properties @@ -0,0 +1,33 @@ +# $Id: redirector.properties 288 2009-10-26 08:13:15Z einar@einaregilsson.com $ +initError=Failed to initialize Redirector. +extensions.redirector@einaregilsson.com.description=根据您设置的规则自动跳转网页。 +extensionName=Redirector +addCurrentUrl=Add current url to Redirector +addLinkUrl=为链接创建 Redirector 规则 +recursiveError=A redirect with the pattern %S matches %S and is trying to redirect to it again. You should change this rule so it won't work recursively. +enabledTooltip=Redirector is enabled +disabledTooltip=Redirector is disabled +testPatternSuccess=The pattern %S matches example URL %S, and would redirect you to url: %S +testPatternFailure=The pattern %S does not match example URL %S +testPatternExclude=Example URL %S matches the exclude pattern %S and so would not be redirected +regexPatternError=The pattern '%S' is not a legal regular expression pattern. Details: %S +xpathDeprecated=XPath patterns are no longer supported as of version 1.5.1, please remove those redirects. +redirectorFiles=Redirector files (*.rdx) +exportCaption=Export redirects... +importCaption=Import redirects... +deleteConfirmationText=Are you sure you want to permanently delete this redirect? +deleteConfirmationTitle=Delete redirect? +importedMessage=%S redirects were imported +importedMessageSingular=%S redirect was imported +existedMessage=%S redirects were identical to existing redirects and were therefore not imported. +existedMessageSingular=%S redirect was identical to an existing redirect and was therefore not imported. +allExistedMessage=All %S redirects in the file were identical to existing redirects, no redirects were imported. +allExistedMessageSingular=The single redirect in the file was identical to an existing redirect and was therefore not imported. +importedNone=There were no usable redirects in the given file, no redirects were imported. +importResult=Import results +invalidRedirectTitle=Redirector Add-on: Invalid Redirect detected +invalidRedirectText=The pattern "%S" redirected the url %S to %S which also matches the pattern. This will cause an endless loop and so the redirect has been disabled to prevent this from happening. You should edit this redirect to fix it. +warningExampleUrlDoesntMatchPatternTitle=Warning: Example url does not match redirect +warningExampleUrlDoesntMatchPattern=The example url does not match the redirect specified. Are you sure you want to save this redirect? +errorExampleUrlMatchesRecursiveTitle=Error: Recursive match detected +errorExampleUrlMatchesRecursive=The example url %S matches the redirect and would redirect you to %S, which also matches the redirect. This is not allowed as it can cause an endless loop of requests. \ No newline at end of file diff --git a/locale/zh-CN/settings.xul.dtd b/locale/zh-CN/settings.xul.dtd new file mode 100644 index 0000000..0facb3a --- /dev/null +++ b/locale/zh-CN/settings.xul.dtd @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2