aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpapush2021-05-01 01:11:00 +0200
committerpapush2021-05-01 01:11:00 +0200
commitc52888b5c2865d7e4ee414888bc0da89c8ba5446 (patch)
tree3a15f766315a45fdca6e731b222b91b30be4813a
parent8183e6fee716b503da0350eddde7e1355146fed5 (diff)
rebrand
-rw-r--r--build.py2
-rw-r--r--chrome/browserOverlay.xul4
-rw-r--r--chrome/help.html22
-rw-r--r--chrome/redirector.html4
-rw-r--r--locale/en-US/browserOverlay.dtd4
-rw-r--r--locale/en-US/redirector.properties14
-rw-r--r--locale/en-US/settings.xul.dtd4
7 files changed, 27 insertions, 27 deletions
diff --git a/build.py b/build.py
index f52b4a6..e58086b 100644
--- a/build.py
+++ b/build.py
@@ -1,6 +1,6 @@
import os, os.path, zipfile, sys
-xpi = zipfile.ZipFile('redirector-' + input('Version: ') + '.xpi','w')
+xpi = zipfile.ZipFile('url-rewriter-' + input('Version: ') + '.xpi','w')
for (root, folders, files) in os.walk('.'):
if 'unittest' in root:
continue
diff --git a/chrome/browserOverlay.xul b/chrome/browserOverlay.xul
index a8dda3c..50e0cde 100644
--- a/chrome/browserOverlay.xul
+++ b/chrome/browserOverlay.xul
@@ -22,9 +22,9 @@
<statusbar id="status-bar">
<statusbarpanel id="redirector-status">
<image id="redirector-statusbar-img" src="chrome://redirector/content/images/statusactive.png"
- tooltiptext="Redirector is enabled;"
+ tooltiptext="URL Rewriter is enabled;"
style="width:16px; height:16px;"
onclick="RedirectorOverlay.statusBarClick(event);" />
</statusbarpanel>
</statusbar>
-</overlay> \ No newline at end of file
+</overlay>
diff --git a/chrome/help.html b/chrome/help.html
index a6a589b..dc8d756 100644
--- a/chrome/help.html
+++ b/chrome/help.html
@@ -1,17 +1,17 @@
<!-- $Id$ -->
<html>
<head>
- <title>Redirector Help</title>
+ <title>URL Rewriter Help</title>
<style type="text/css">
body { font-family: Verdana, Arial; color:black; background-color:white; font-size:0.9em; }
a { color:blue; }
</style>
</head>
<body>
- <h1>Redirector Help</h1>
+ <h1>URL Rewriter Help</h1>
<h3>Table of contents</h3>
<ul>
- <li><a href="#whatisredirector">What is Redirector?</a></li>
+ <li><a href="#whatisredirector">What is URL Rewriter?</a></li>
<li><a href="#basicusage">Basic usage</a>
<ul>
<li><a href="#exampleurl">Example url</a></li>
@@ -38,9 +38,9 @@
<a name="whatisredirector"></a>
- <h4>What is Redirector?</h4>
+ <h4>What is URL Rewriter?</h4>
- <p>Redirector is an extension for Firefox that allows you to automatically redirect from
+ <p>URL Rewriter is an extension for Pale Moon that allows you to automatically redirect from
one webpage to another. For example, every time you visit http://abc.com you will automatically
load http://def.com instead. This can be useful for instance to always redirect articles to printer friendly
versions, redirect http:// to https:// for sites that support both, bypass advertising pages that appear before
@@ -48,8 +48,8 @@
<a name="basicusage"></a>
<h4>Basic usage</h4>
- <p>To add a new redirect you can go to the <em>Tools</em> menuitem and select <em>Redirector</em>. That will
- open the <em>Redirector settings</em> window which shows all your redirects. The window can also be opened
+ <p>To add a new redirect you can go to the <em>Tools</em> menuitem and select <em>URL Rewriter</em>. That will
+ open the <em>URL Rewriter settings</em> window which shows all your redirects. The window can also be opened
by right clicking on the <strong>R</strong> icon in your statusbar.
There you can press the <em>Add...</em> button and then you can enter the details for the new redirect. A redirect
consists of a few things:
@@ -73,13 +73,13 @@
and you open the page http://google.com/foobar, then you will be redireced to http://froogle.com/foobar, since 'foobar' was what the star replaced. $1 is for the
first star in the pattern, $2 for the second and so on. For regular expression $1 is for the first parantheses, $2 for the second etc.</li>
- <li><a name="patterntype"></a><strong>Pattern type:</strong> This specifies how Redirector should interpret the patterns, either as
+ <li><a name="patterntype"></a><strong>Pattern type:</strong> This specifies how URL Rewriter should interpret the patterns, either as
<a href="#wildcards">wildcards</a> or <a href="#regularexpressions#">regular expressions</a>.</li>
- <li><a name="unescapematches"></a><strong>Unescape matches:</strong> A common usage of Redirector is to catch urls like
+ <li><a name="unescapematches"></a><strong>Unescape matches:</strong> A common usage of URL Rewriter is to catch urls like
<em>http://foo.com/redirect.php?url=http%3A%2F%2Fbar%2Ecom%2Fpath</em> and try to catch the url parameter and redirect to it. A pattern
like <em>http://foo.com/redirect.php?url=*</em> might be used for that purpose. However, if the url parameter is <em>escaped</em> (also known
- as <em>urlencoded</em>) then that won't work. In the url above we see that it starts with <em>http%3A%2F%2F</em> instead of <em>http://</em>, and Firefox
+ as <em>urlencoded</em>) then that won't work. In the url above we see that it starts with <em>http%3A%2F%2F</em> instead of <em>http://</em>, and Pale Moon
won't accept this as a new url to redirect to. So, in cases like these you can check the <em>Unescape matches</em> option and then all
matches will be unescaped (turned from e.g. <em>http%3A%2F%2Fbar%2Ecom</em> to <em>http://bar.com</em>) before being inserted into the target url.
</li>
@@ -179,4 +179,4 @@
</li>
</ol>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/chrome/redirector.html b/chrome/redirector.html
index 68300c1..96fe24d 100644
--- a/chrome/redirector.html
+++ b/chrome/redirector.html
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html>
<head>
- <title>Redirector Extension Settings</title>
+ <title>URL Rewriter Extension Settings</title>
<link rel="stylesheet" href="css/redirector.css?sfsdf" />
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/redirector-ui.js"></script>
</head>
<body>
- <h1>Redirector</h1>
+ <h1>URL Rewriter</h1>
<h5>Go where <em>YOU</em> want!</h5>
<div id="actions">
<button id="new-redirect">New Redirect...</button>
diff --git a/locale/en-US/browserOverlay.dtd b/locale/en-US/browserOverlay.dtd
index 3aaa0fc..ab2f8d2 100644
--- a/locale/en-US/browserOverlay.dtd
+++ b/locale/en-US/browserOverlay.dtd
@@ -1,7 +1,7 @@
<!-- $Id$ -->
-<!ENTITY RedirectorMenuItem.label "Redirector">
+<!ENTITY RedirectorMenuItem.label "URL Rewriter">
<!ENTITY RedirectorMenuItem.accesskey "R">
-<!ENTITY RedirectorContext.label "Add url to Redirector...">
+<!ENTITY RedirectorContext.label "Add url to URL Rewriter...">
<!ENTITY RedirectorContext.accesskey "A">
<!ENTITY RedirectorManageRedirects.label "Manage redirects">
<!ENTITY RedirectorManageRedirects.accesskey "M">
diff --git a/locale/en-US/redirector.properties b/locale/en-US/redirector.properties
index e853787..9049dc6 100644
--- a/locale/en-US/redirector.properties
+++ b/locale/en-US/redirector.properties
@@ -1,17 +1,17 @@
-initError=Failed to initialize Redirector.
-extensionName=Redirector
-addCurrentUrl=Add current url to Redirector
-addLinkUrl=Add link url to Redirector
+initError=Failed to initialize URL Rewriter.
+extensionName=URL Rewriter
+addCurrentUrl=Add current url to URL Rewriter
+addLinkUrl=Add link url to URL Rewriter
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
+enabledTooltip=URL Rewriter is enabled
+disabledTooltip=URL Rewriter 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
regexPatternErrorTitle=Invalid regular expression
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 (*.rjson)
+redirectorFiles=URL Rewriter files (*.rjson)
exportCaption=Export redirects...
importCaption=Import redirects...
deleteConfirmationText=Are you sure you want to permanently delete this redirect?
diff --git a/locale/en-US/settings.xul.dtd b/locale/en-US/settings.xul.dtd
index 90d3f6f..e5dd8f1 100644
--- a/locale/en-US/settings.xul.dtd
+++ b/locale/en-US/settings.xul.dtd
@@ -1,5 +1,5 @@
<!-- $Id$ -->
-<!ENTITY window.title "Redirector">
+<!ENTITY window.title "URL Rewriter">
<!-- ListItems with redirects -->
<!ENTITY colIncludePattern.label "Include pattern">
@@ -51,7 +51,7 @@
<!ENTITY grpGeneralPreferences.label "General">
<!ENTITY grpDebuggingPreferences.label "Debugging">
-<!ENTITY chkEnableRedirector.label "Enable Redirector">
+<!ENTITY chkEnableRedirector.label "Enable URL Rewriter">
<!ENTITY chkEnableRedirector.accesskey "E">
<!ENTITY chkShowStatusBarIcon.label "Show status bar icon">