Added lang select to error template
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Fri, 24 Feb 2012 09:31:07 +0000 (11:31 +0200)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Fri, 24 Feb 2012 09:31:07 +0000 (11:31 +0200)
locale/el/LC_MESSAGES/django.mo
locale/el/LC_MESSAGES/django.po
templates/error.html

index 6d9af0f..a285576 100644 (file)
Binary files a/locale/el/LC_MESSAGES/django.mo and b/locale/el/LC_MESSAGES/django.mo differ
index 31bedf2..f3925a0 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-24 10:47+0200\n"
+"POT-Creation-Date: 2012-02-24 11:23+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Leonidas Poulopoulos <leopoul@grnet.gr>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Leonidas Poulopoulos <leopoul@grnet.gr>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -113,66 +113,66 @@ msgstr ""
 msgid "Port should be an integer"
 msgstr "Η port θα πρέπει να είναι ένας ακέραιος αριθμός"
 
 msgid "Port should be an integer"
 msgstr "Η port θα πρέπει να είναι ένας ακέραιος αριθμός"
 
-#: flowspec/models.py:107 templates/review.html:49
+#: flowspec/models.py:103 templates/user_routes.html:273
+msgid "Then"
+msgstr "Ενέργειες"
+
+#: flowspec/models.py:108 templates/review.html:49
 #: templates/review.html.py:107 templates/user_routes.html:271
 msgid "Name"
 msgstr "Όνομα"
 
 #: templates/review.html.py:107 templates/user_routes.html:271
 msgid "Name"
 msgstr "Όνομα"
 
-#: flowspec/models.py:109 flowspec/models.py:111
+#: flowspec/models.py:110 flowspec/models.py:112
 msgid "Network address. Use address/CIDR notation"
 msgstr "Διεύθυνση δικτύου/υποδικτύου. Χρησιμοποιήστε σύνταξη διεύθυνσης/CIDR"
 
 msgid "Network address. Use address/CIDR notation"
 msgstr "Διεύθυνση δικτύου/υποδικτύου. Χρησιμοποιήστε σύνταξη διεύθυνσης/CIDR"
 
-#: flowspec/models.py:109
+#: flowspec/models.py:110
 msgid "Source Address"
 msgstr "Διεύθυνση Πηγής"
 
 msgid "Source Address"
 msgstr "Διεύθυνση Πηγής"
 
-#: flowspec/models.py:110
+#: flowspec/models.py:111
 msgid "Source Port"
 msgstr "Port Πηγής"
 
 msgid "Source Port"
 msgstr "Port Πηγής"
 
-#: flowspec/models.py:111
+#: flowspec/models.py:112
 msgid "Destination Address"
 msgstr "Διεύθυνση Προορισμού"
 
 msgid "Destination Address"
 msgstr "Διεύθυνση Προορισμού"
 
-#: flowspec/models.py:112
+#: flowspec/models.py:113
 msgid "Destination Port"
 msgstr "Port Προορισμού"
 
 msgid "Destination Port"
 msgstr "Port Προορισμού"
 
-#: flowspec/models.py:113 templates/add_port.html:14 templates/apply.html:308
+#: flowspec/models.py:114 templates/add_port.html:14 templates/apply.html:308
 #: templates/apply.html.py:327 templates/apply.html:346
 msgid "Port"
 msgstr "Port"
 
 #: templates/apply.html.py:327 templates/apply.html:346
 msgid "Port"
 msgstr "Port"
 
-#: flowspec/models.py:119
+#: flowspec/models.py:120
 msgid "Protocol"
 msgstr "Πρωτόκολλο"
 
 msgid "Protocol"
 msgstr "Πρωτόκολλο"
 
-#: flowspec/models.py:121 templates/user_routes.html:273
-msgid "Then"
-msgstr "Ενέργειες"
-
-#: flowspec/models.py:124 templates/user_routes.html:274
+#: flowspec/models.py:125 templates/user_routes.html:274
 msgid "Status"
 msgstr "Κατάσταση"
 
 msgid "Status"
 msgstr "Κατάσταση"
 
-#: flowspec/models.py:127 templates/user_routes.html:277
+#: flowspec/models.py:128 templates/user_routes.html:277
 msgid "Expires"
 msgstr "Λήγει"
 
 msgid "Expires"
 msgstr "Λήγει"
 
-#: flowspec/models.py:128 templates/user_routes.html:278
+#: flowspec/models.py:129 templates/user_routes.html:278
 msgid "Response"
 msgstr "Απόκριση Δικτύου"
 
 msgid "Response"
 msgstr "Απόκριση Δικτύου"
 
-#: flowspec/models.py:129 templates/review.html:57
+#: flowspec/models.py:130 templates/review.html:57
 #: templates/review.html.py:115
 msgid "Comments"
 msgstr "Σχόλια"
 
 #: templates/review.html.py:115
 msgid "Comments"
 msgstr "Σχόλια"
 
-#: flowspec/models.py:154
+#: flowspec/models.py:155
 msgid "Invalid network address format at Destination Field"
 msgstr "Λανθασμένη μορφή διεύθυνσης δικυου στο πεδίο Προορισμός"
 
 msgid "Invalid network address format at Destination Field"
 msgstr "Λανθασμένη μορφή διεύθυνσης δικυου στο πεδίο Προορισμός"
 
-#: flowspec/models.py:160
+#: flowspec/models.py:161
 msgid "Invalid network address format at Source Field"
 msgstr "Λανθασμένη μορφή διεύθυνσης δικυου στο πεδίο Πηγή"
 
 msgid "Invalid network address format at Source Field"
 msgstr "Λανθασμένη μορφή διεύθυνσης δικυου στο πεδίο Πηγή"
 
@@ -238,10 +238,11 @@ msgid ""
 "this account has remained inactive for a long time contact your technical "
 "coordinator or GRNET Helpdesk"
 msgstr ""
 "this account has remained inactive for a long time contact your technical "
 "coordinator or GRNET Helpdesk"
 msgstr ""
-"Ο λογαριασμός χρήστη <strong>%s</strong> απαιτεί ενεργοποίηση. Οι διαχειριστές της υπηρεσίας έχουν "
-"ενημερωθεί και θα ενεργοποιήσουν το λογαριασμό εντός των επόμενων ημερών. <br>Εάν "
-"ο λογαριασμός δεν έχει ενεργοποιηθεί για μεγάλο χρονικό διάστημα, επικοινωνήστε με τον τεχνικό σας υπέυθυνο ή το "
-"Helpdesk του ΕΔΕΤ."
+"Ο λογαριασμός χρήστη <strong>%s</strong> απαιτεί ενεργοποίηση. Οι "
+"διαχειριστές της υπηρεσίας έχουν ενημερωθεί και θα ενεργοποιήσουν το "
+"λογαριασμό εντός των επόμενων ημερών. <br>Εάν ο λογαριασμός δεν έχει "
+"ενεργοποιηθεί για μεγάλο χρονικό διάστημα, επικοινωνήστε με τον τεχνικό σας "
+"υπέυθυνο ή το Helpdesk του ΕΔΕΤ."
 
 #: flowspec/views.py:275
 msgid ""
 
 #: flowspec/views.py:275
 msgid ""
@@ -378,20 +379,20 @@ msgstr "Εφαρμογή"
 msgid "Add new port"
 msgstr ""
 
 msgid "Add new port"
 msgstr ""
 
-#: templates/base.html:40 templates/error.html:48 templates/welcome.html:7
+#: templates/base.html:40 templates/error.html:56 templates/welcome.html:7
 msgid "Welcome"
 msgstr "Καλωσήρθατε"
 
 msgid "Welcome"
 msgstr "Καλωσήρθατε"
 
-#: templates/base.html:54 templates/error.html:62 templates/profile.html:4
+#: templates/base.html:54 templates/error.html:68 templates/profile.html:4
 #: templates/profile.html.py:6
 msgid "My profile"
 msgstr "Το προφίλ μου"
 
 #: templates/profile.html.py:6
 msgid "My profile"
 msgstr "Το προφίλ μου"
 
-#: templates/base.html:56 templates/error.html:64
+#: templates/base.html:56 templates/error.html:70
 msgid "Admin"
 msgstr "Διαχειριστής"
 
 msgid "Admin"
 msgstr "Διαχειριστής"
 
-#: templates/base.html:58 templates/error.html:66
+#: templates/base.html:58 templates/error.html:72
 msgid "Logout"
 msgstr "Έξοδος"
 
 msgid "Logout"
 msgstr "Έξοδος"
 
@@ -404,7 +405,7 @@ msgstr "Είσοδος με Shibboleth"
 msgid "My rules"
 msgstr "Τα φίλτρα μου"
 
 msgid "My rules"
 msgstr "Τα φίλτρα μου"
 
-#: templates/base.html:86 templates/error.html:111
+#: templates/base.html:86 templates/error.html:117
 msgid ""
 "If you have any questions or need help, contact GRNET Helpdesk at <a "
 "href='mailto:helpdesk@grnet.gr'>helpdesk@grnet.gr</a> or 800-11-47638."
 msgid ""
 "If you have any questions or need help, contact GRNET Helpdesk at <a "
 "href='mailto:helpdesk@grnet.gr'>helpdesk@grnet.gr</a> or 800-11-47638."
@@ -413,54 +414,54 @@ msgstr ""
 "ΕΔΕΤ στο <a href='mailto:helpdesk@grnet.gr'>helpdesk@grnet.gr</a> ή "
 "τηλεφωνικά στο 800-11-47638."
 
 "ΕΔΕΤ στο <a href='mailto:helpdesk@grnet.gr'>helpdesk@grnet.gr</a> ή "
 "τηλεφωνικά στο 800-11-47638."
 
-#: templates/base.html:88 templates/error.html:113
+#: templates/base.html:88 templates/error.html:119
 msgid "GRNET"
 msgstr "ΕΔΕΤ"
 
 msgid "GRNET"
 msgstr "ΕΔΕΤ"
 
-#: templates/base.html:88 templates/error.html:113 templates/getinfo.html:27
+#: templates/base.html:88 templates/error.html:119 templates/getinfo.html:27
 #: templates/getinfo.html.py:28
 msgid "Info"
 msgstr "Πληροφορίες"
 
 #: templates/getinfo.html.py:28
 msgid "Info"
 msgstr "Πληροφορίες"
 
-#: templates/base.html:88 templates/error.html:113
+#: templates/base.html:88 templates/error.html:119
 msgid "Service Terms"
 msgstr "Όροι Χρήσης"
 
 msgid "Service Terms"
 msgstr "Όροι Χρήσης"
 
-#: templates/error.html:4 templates/error.html.py:82
+#: templates/error.html:4 templates/error.html.py:88
 msgid "Activation Pending"
 msgstr "Απαιτείται Ενεργοποίηση"
 
 msgid "Activation Pending"
 msgstr "Απαιτείται Ενεργοποίηση"
 
-#: templates/error.html:4 templates/error.html.py:82
+#: templates/error.html:4 templates/error.html.py:88
 msgid "Error"
 msgstr "Σφάλμα"
 
 msgid "Error"
 msgstr "Σφάλμα"
 
-#: templates/error.html:68
+#: templates/error.html:74
 msgid ""
 "After clicking Retry Login, it is strongly suggested to close your browser "
 "and visit the page again"
 msgstr ""
 msgid ""
 "After clicking Retry Login, it is strongly suggested to close your browser "
 "and visit the page again"
 msgstr ""
-"Αφού επιλέξετε Επανάληψη Εισόδου, προτείνουμε να κλείσετε την εφαρμογή περιήγησης και να επισκεφθέιτε τη σελίδα ξανά"
+"Αφού επιλέξετε Επανάληψη Εισόδου, προτείνουμε να κλείσετε την εφαρμογή "
+"περιήγησης και να επισκεφθέιτε τη σελίδα ξανά"
 
 
-#: templates/error.html:68
+#: templates/error.html:74
 msgid "Retry Login"
 msgstr "Επανάληψη Εισόδου"
 
 msgid "Retry Login"
 msgstr "Επανάληψη Εισόδου"
 
-#: templates/error.html:76
+#: templates/error.html:82
 msgid "My routes"
 msgstr "Τα φίλτρα μου"
 
 msgid "My routes"
 msgstr "Τα φίλτρα μου"
 
-#: templates/error.html:85
+#: templates/error.html:91
 msgid ""
 "One or more required shibboleth attributes were not released towards this "
 "service"
 msgstr "Ένα ή περισσότερα Shibboleth attributes δεν προωθήθηκαν στην υπηρεσία"
 
 msgid ""
 "One or more required shibboleth attributes were not released towards this "
 "service"
 msgstr "Ένα ή περισσότερα Shibboleth attributes δεν προωθήθηκαν στην υπηρεσία"
 
-#: templates/error.html:90
+#: templates/error.html:96
 msgid "Required shibboleth attributes"
 msgstr "Απαιτούμενα Shibboleth attributes "
 
 msgid "Required shibboleth attributes"
 msgstr "Απαιτούμενα Shibboleth attributes "
 
-#: templates/error.html:97
-#, fuzzy
+#: templates/error.html:103
 msgid "Optional"
 msgstr "Προεραιτικά"
 
 msgid "Optional"
 msgstr "Προεραιτικά"
 
@@ -883,11 +884,11 @@ msgstr "Ολοκλήρωση ενεργοποίησης"
 
 #: templates/registration/activate.html:7
 msgid "Activation Status"
 
 #: templates/registration/activate.html:7
 msgid "Activation Status"
-msgstr ""
+msgstr "Κατάσταση Ενεργοποίησης"
 
 #: templates/registration/activate.html:9
 msgid "succesfully activated"
 
 #: templates/registration/activate.html:9
 msgid "succesfully activated"
-msgstr ""
+msgstr "ενεργοποιήθηκε επιτυχώς"
 
 #: templates/registration/activate.html:11
 msgid "The user has probably been already activated."
 
 #: templates/registration/activate.html:11
 msgid "The user has probably been already activated."
index c8507a2..d179fd4 100644 (file)
@@ -29,6 +29,14 @@ $(document).ready(function(){
     }
 
 </style>
     }
 
 </style>
+<script type="text/javascript">
+
+       function setlang(lang){
+               $("#langsel").val(lang);
+               $("#langform").submit();
+       }
+
+</script>
 </head>
 
 
 </head>
 
 
@@ -40,14 +48,13 @@ $(document).ready(function(){
                                        <img class="logoimg" src="/static/grnet_logo.png">
                                </a>
                                <div id="title">
                                        <img class="logoimg" src="/static/grnet_logo.png">
                                </a>
                                <div id="title">
-                                       <a href="/">Firewall on Demand</a>
+                                       <a href="{% url group-routes %}">Firewall on Demand</a>
                                </div>
                                <div class="loginform">
                                        <div id="formcontent">
                                                {% if user.is_authenticated %}
                                                <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
                                                {% endif %}
                                </div>
                                <div class="loginform">
                                        <div id="formcontent">
                                                {% if user.is_authenticated %}
                                                <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
                                                {% endif %}
-                                               {% comment %}
                                                <span {% if user.is_authenticated %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} >
                                                                <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
                                                                {% csrf_token %}
                                                <span {% if user.is_authenticated %}class="topmenuaction"{% else %}class="topmenuuser"{% endif %} >
                                                                <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
                                                                {% csrf_token %}
@@ -57,7 +64,6 @@ $(document).ready(function(){
                                                                {% endfor %}
                                                        </form>
                                                </span>
                                                                {% endfor %}
                                                        </form>
                                                </span>
-                                               {% endcomment %}
                                                {% if user.is_authenticated %}
                                                <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
 {% if user.is_superuser %}
                                                {% if user.is_authenticated %}
                                                <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
 {% if user.is_superuser %}