Commit 3dae5974 authored by Claude Paroz's avatar Claude Paroz

Updated links to https when available

parent 3ba37e97
......@@ -103,7 +103,7 @@ OpenID support
If you want OpenID support, install django-openid-auth package:
http://pypi.python.org/pypi/django-openid-auth/
https://pypi.python.org/pypi/django-openid-auth/
Set USE_DJANGO_OPENID to True in your local_settings.py.
......@@ -116,7 +116,7 @@ Change:
claimed_id = models.TextField(max_length=2047, unique=True)
To:
claimed_id = models.CharField(max_length=255, unique=True)
See bug http://code.djangoproject.com/ticket/2495
See bug https://code.djangoproject.com/ticket/2495
Databases
=========
......@@ -157,7 +157,7 @@ DATABASES = {
Grep for ANSI_QUOTES in the source code to find the models.py which
use a hack to workaround the double quotes interpretation in MySQL.
The best solution is to run the MySQL server with the ANSI_QUOTES
mode: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html
mode: http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html
(sql-mode="ANSI_QUOTES" in my.cnf) but it can be dangerous for other
applications.
......
#-*- coding: utf-8 -*-
# From: http://djangosnippets.org/snippets/1979/
# From: https://djangosnippets.org/snippets/1979/
import json
from django import forms
......@@ -53,7 +53,7 @@ class DictionaryField(models.Field):
return super(DictionaryField, self).formfield(**defaults)
# From http://djangosnippets.org/snippets/1478/
# From https://djangosnippets.org/snippets/1478/
class JSONField(models.TextField):
"""JSONField is a generic textfield that neatly serializes/unserializes
......
# -*- coding: utf-8 -*-
#
# Based on http://www.djangosnippets.org/snippets/889/
# Based on https://www.djangosnippets.org/snippets/889/
# Copyright (c) 2008 Stéphane Raimbault <stephane.raimbault@gmail.com>
#
# This file is part of Damned Lies.
......
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:gnome="http://api.gnome.org/doap-extensions#"
xmlns:gnome="https://api.gnome.org/doap-extensions#"
xmlns="http://usefulinc.com/ns/doap#">
<name xml:lang="en">damned-lies</name>
<shortdesc xml:lang="en">Web application for translation tracking</shortdesc>
<homepage rdf:resource="http://l10n.gnome.org/" />
<bug-database rdf:resource="http://bugzilla.gnome.org/browse.cgi?product=damned-lies"/>
<mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/gnome-i18n" />
<category rdf:resource="http://api.gnome.org/doap-extensions#infrastructure" />
<homepage rdf:resource="https://l10n.gnome.org/" />
<bug-database rdf:resource="https://bugzilla.gnome.org/browse.cgi?product=damned-lies"/>
<mailing-list rdf:resource="https://mail.gnome.org/mailman/listinfo/gnome-i18n" />
<category rdf:resource="https://api.gnome.org/doap-extensions#infrastructure" />
<programming-language>Python</programming-language>
<maintainer>
......
......@@ -38,7 +38,7 @@ NOTIFICATIONS_TO = ['gnome-i18n@gnome.org']
ENTER_BUG_URL = 'https://bugzilla.gnome.org/enter_bug.cgi?product=damned-lies&component=l10n.gnome.org'
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# https://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
......
......@@ -25,11 +25,13 @@ class DoapParser(object):
pers_attrs = [
"{http://xmlns.com/foaf/0.1/}name",
"{http://xmlns.com/foaf/0.1/}mbox",
"{http://api.gnome.org/doap-extensions#}userid"
"{http://api.gnome.org/doap-extensions#}userid",
"{https://api.gnome.org/doap-extensions#}userid",
]
maintainers = []
for maint in maint_tags:
name, mbox, uid = [maint[0].find(attr) for attr in pers_attrs]
name, mbox, uid = [res for res in [maint[0].find(attr) for attr in pers_attrs]
if res is not None]
maint = {'name': name.text, 'email': None, 'account': None}
if mbox is not None:
maint['email'] = unquote(mbox.items()[0][1].replace("mailto:", ""))
......
......@@ -234,9 +234,9 @@
},
{
"fields": {
"comment": "This is not a GNOME-specific module. Please submit your translation through the <a href=\"http://www.transifex.com/projects/p/shared-mime-info/c/default/\">Transifex platform</a>.",
"comment": "This is not a GNOME-specific module. Please submit your translation through the <a href=\"https://www.transifex.com/freedesktop/shared-mime-info/\">Transifex platform</a>.",
"archived": false,
"vcs_web": "http://cgit.freedesktop.org/xdg/shared-mime-info/",
"vcs_web": "https://cgit.freedesktop.org/xdg/shared-mime-info/",
"name": "shared-mime-info",
"vcs_root": "git://anongit.freedesktop.org/xdg/shared-mime-info",
"bugs_product": "shared-mime-info",
......
......@@ -71,12 +71,12 @@ class FixtureFactory(TestCase):
s_m_i = Module.objects.create(name="shared-mime-info", vcs_type="git",
description="Shared MIME Info",
vcs_root="git://anongit.freedesktop.org/xdg/shared-mime-info",
vcs_web="http://cgit.freedesktop.org/xdg/shared-mime-info/",
vcs_web="https://cgit.freedesktop.org/xdg/shared-mime-info/",
bugs_base="https://bugs.freedesktop.org/",
bugs_product="shared-mime-info",
bugs_component="general",
comment="This is not a GNOME-specific module. Please submit your translation " \
"through the <a href=\"http://www.transifex.com/projects/p/shared-mime-info/c/default/\">Transifex platform</a>.")
"through the <a href=\"https://www.transifex.com/freedesktop/shared-mime-info/\">Transifex platform</a>.")
# Creating models: Domains
dom = {}
......
......@@ -9,11 +9,11 @@
<h1>{% trans "About Damned Lies" %}</h1>
<p>{% trans "Damned Lies is the Web application used to manage the localisation (l10n) of the GNOME project." %}
{% blocktrans with link='http://l10n.gnome.org/help/vertimus_workflow/' %}It allows you to browse live statistics. Damned Lies also manages the translation <a href="{{ link }}">workflow</a>.{% endblocktrans %}</p>
{% blocktrans with link='https://l10n.gnome.org/help/vertimus_workflow/' %}It allows you to browse live statistics. Damned Lies also manages the translation <a href="{{ link }}">workflow</a>.{% endblocktrans %}</p>
<p>{% blocktrans with gpl='http://www.gnu.org/licenses/gpl-2.0.html' bug='https://bugzilla.gnome.org/enter_bug.cgi?product=damned-lies' %}Damned Lies is Free Software, its source code is available under the <a href="{{ gpl }}">GNU GPL license</a>. You are welcome to participate to its improvement, especially by <a href="{{ bug }}">reporting bugs and enhancement proposals</a>.{% endblocktrans %}</p>
<p>{% blocktrans with link='http://en.wikipedia.org/wiki/Lies,_damned_lies,_and_statistics' %}If you wonder about the name of this application, see <a href="{{ link }}">this article on Wikipedia</a>.{% endblocktrans %}</p>
<p>{% blocktrans with link='https://en.wikipedia.org/wiki/Lies,_damned_lies,_and_statistics' %}If you wonder about the name of this application, see <a href="{{ link }}">this article on Wikipedia</a>.{% endblocktrans %}</p>
<p>{% blocktrans with link='https://www.getsentry.com/' %}Many thanks to <a href="{{ link }}">GetSentry.com</a> for freely providing us an account on their online logging platform.{% endblocktrans %}</p>
......@@ -27,7 +27,7 @@
<h2>{% trans "Quick links" %}</h2>
<table class="about_qlinks">
<tr><th>{% trans "Project wiki" %}</th>
<td><a href="https://live.gnome.org/DamnedLies">https://live.gnome.org/DamnedLies</a></td>
<td><a href="https://wiki.gnome.org/DamnedLies">https://wiki.gnome.org/DamnedLies</a></td>
</tr>
<tr><th>{% trans "Bug tracking page" %}</th>
<td><a href="https://bugzilla.gnome.org/browse.cgi?product=damned-lies">https://bugzilla.gnome.org/browse.cgi?product=damned-lies</a></td>
......
......@@ -34,7 +34,7 @@
<div id="global_domain_bar">
<div class="maxwidth">
<div class="tab">
<a class="root" href="http://www.gnome.org/">GNOME.org</a>
<a class="root" href="https://www.gnome.org/">GNOME.org</a>
{% if user.is_authenticated %}
<a class="user" href="{% url 'person_detail_username' user.username %}">{{ user.person }}</a>
{% else %}
......@@ -87,37 +87,36 @@
<div class="links">
<div>
<ul id="menu-footer" class="menu">
<li><a href="http://www.gnome.org">{% trans "The GNOME Project" %}</a>
<li><a href="https://www.gnome.org">{% trans "The GNOME Project" %}</a>
<ul class="sub-menu">
<li><a href="http://www.gnome.org/about/">{% trans "About Us" %}</a></li>
<li><a href="http://www.gnome.org/get-involved/">{% trans "Get Involved" %}</a></li>
<li><a href="http://www.gnome.org/teams/">{% trans "Teams" %}</a></li>
<li><a href="http://www.gnome.org/support-gnome/">{% trans "Support GNOME" %}</a></li>
<li><a href="http://www.gnome.org/contact/">{% trans "Contact Us" %}</a></li>
<li><a href="http://www.gnome.org/foundation/">{% trans "The GNOME Foundation" %}</a></li>
<li><a href="https://www.gnome.org/about/">{% trans "About Us" %}</a></li>
<li><a href="https://www.gnome.org/get-involved/">{% trans "Get Involved" %}</a></li>
<li><a href="https://www.gnome.org/teams/">{% trans "Teams" %}</a></li>
<li><a href="https://www.gnome.org/support-gnome/">{% trans "Support GNOME" %}</a></li>
<li><a href="https://www.gnome.org/contact/">{% trans "Contact Us" %}</a></li>
<li><a href="https://www.gnome.org/foundation/">{% trans "The GNOME Foundation" %}</a></li>
</ul>
</li>
<li><a href="#">{% trans "Resources" %}</a>
<ul class="sub-menu">
<li><a href="https://developer.gnome.org">{% trans "Developer Center" %}</a></li>
<li><a href="https://help.gnome.org">{% trans "Documentation" %}</a></li>
<li><a href="http://live.gnome.org">{% trans "Wiki" %}</a></li>
<li><a href="http://mail.gnome.org/mailman/listinfo">{% trans "Mailing Lists" %}</a></li>
<li><a href="https://live.gnome.org/GnomeIrcChannels">{% trans "IRC Channels" %}</a></li>
<li><a href="https://wiki.gnome.org/">{% trans "Wiki" %}</a></li>
<li><a href="https://mail.gnome.org/mailman/listinfo">{% trans "Mailing Lists" %}</a></li>
<li><a href="https://wiki.gnome.org/GnomeIrcChannels">{% trans "IRC Channels" %}</a></li>
<li><a href="https://bugzilla.gnome.org/">{% trans "Bug Tracker" %}</a></li>
<li><a href="https://git.gnome.org/browse/">{% trans "Development Code" %}</a></li>
<li><a href="https://live.gnome.org/Jhbuild">{% trans "Build Tool" %}</a></li>
<li><a href="https://wiki.gnome.org/Jhbuild">{% trans "Build Tool" %}</a></li>
</ul>
</li>
<li><a href="http://www.gnome.org/news/">{% trans "News" %}</a>
<li><a href="https://www.gnome.org/news/">{% trans "News" %}</a>
<ul class="sub-menu">
<li><a href="http://www.gnome.org/press/">{% trans "Press Releases" %}</a></li>
<li><a href="http://www.gnome.org/start/stable">{% trans "Latest Release" %}</a></li>
<li><a href="https://www.gnome.org/press/">{% trans "Press Releases" %}</a></li>
<li><a href="https://www.gnome.org/start/stable">{% trans "Latest Release" %}</a></li>
<li><a href="https://planet.gnome.org">{% trans "Planet GNOME" %}</a></li>
<li><a href="http://gnomejournal.org">{% trans "GNOME Journal" %}</a></li>
<li><a href="https://news.gnome.org">{% trans "Development News" %}</a></li>
<li><a href="http://identi.ca/gnome">{% trans "Identi.ca" %}</a></li>
<li><a href="http://twitter.com/gnome">{% trans "Twitter" %}</a></li>
<li><a href="https://identi.ca/gnome">{% trans "Identi.ca" %}</a></li>
<li><a href="https://twitter.com/gnome">{% trans "Twitter" %}</a></li>
</ul>
</li>
</ul>
......@@ -125,7 +124,7 @@
</div> <!-- end of div.links -->
<div id="footnotes">
{% trans "Copyright &copy; 2006" %}-{% now "Y" %} <strong><a href="http://www.gnome.org/">{% trans "The GNOME Project" %}</a></strong>.
{% trans "Copyright &copy; 2006" %}-{% now "Y" %} <strong><a href="https://www.gnome.org/">{% trans "The GNOME Project" %}</a></strong>.
<br />
<a href="{% url 'about' %}">{% trans "About Damned Lies" %}</a>.
{% trans "Optimized for standards." %}
......
This is an automatic notification from status generation scripts on:
http://{{ ourweb }}.
https://{{ ourweb }}.
There have been following string additions to module '{{ module }}':
......
......@@ -8,7 +8,7 @@
{% block content %}
<p>{% blocktrans %}Damned Lies is able to filter strings which are seldom visible in user interfaces, so as translation teams can concentrate on most visible strings.{% endblocktrans %}</p>
<p>{% blocktrans with "http://translate.sourceforge.net/wiki/toolkit/pogrep" as pogrep_url%}The most typical case is the strings from schema files, hence the default filter is filtering out strings which come from files having "gschema.xml.in" in their name. Technically speaking, the filter is using the <a href="{{ pogrep_url }}">pogrep command from the Translate Toolkit</a>.{% endblocktrans %}</p>
<p>{% blocktrans with "http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pogrep.html?id=toolkit/pogrep" as pogrep_url%}The most typical case is the strings from schema files, hence the default filter is filtering out strings which come from files having "gschema.xml.in" in their name. Technically speaking, the filter is using the <a href="{{ pogrep_url }}">pogrep command from the Translate Toolkit</a>.{% endblocktrans %}</p>
<p>{% blocktrans %}When you see a po file or a table header containing "(red.)" or "(reduced)", it means that the target files have been filtered as stated above.{% endblocktrans %}</p>
......
......@@ -17,7 +17,7 @@
<div class="bloc half first">
<h2><a href="{% url 'teams' %}">{% trans "Teams" %}</a></h2>
<p>{% trans "List of all GNOME Translation Teams, with full information such as primary contact (coordinator), web pages and mailing list information." %}
{% trans "If there is no team for your language, you can easily <a href='https://live.gnome.org/TranslationProject/StartingATeam/'>start your own team</a>." %}
{% trans "If there is no team for your language, you can easily <a href='https://wiki.gnome.org/TranslationProject/StartingATeam/'>start your own team</a>." %}
{% if user_language %}
{% with user_language.get_team_url as team_url %}
......
......@@ -48,7 +48,7 @@
{% include "people/person_overview.html" %}
{% empty %}
<p><em>{% trans "This team has currently no coordinator." %}<br>
{% blocktrans with link="https://live.gnome.org/TranslationProject/TeamCoordinatorResponsibilities" %}See <a href="{{ link }}">the GTP Wiki</a> for more information about coordinatorship.{% endblocktrans %}</em></p>
{% blocktrans with link="https://wiki.gnome.org/TranslationProject/TeamCoordinatorResponsibilities" %}See <a href="{{ link }}">the GTP Wiki</a> for more information about coordinatorship.{% endblocktrans %}</em></p>
{% endfor %}
</div>
......
......@@ -52,7 +52,7 @@ $(document).ready(function() {
{% else %}
<h1>{{ team.get_description }}</h1>
<p><em>{% blocktrans %}There is currently no established team for this language. See <a href="https://live.gnome.org/TranslationProject/StartingATeam">the GTP Wiki</a> to get more information about the process of building a new translation team.{% endblocktrans %}</em></p>
<p><em>{% blocktrans %}There is currently no established team for this language. See <a href="https://wiki.gnome.org/TranslationProject/StartingATeam">the GTP Wiki</a> to get more information about the process of building a new translation team.{% endblocktrans %}</em></p>
{% endif %}
......
......@@ -32,7 +32,7 @@ $(document).ready(function() {
<td>{{ form.use_workflow }} <label for="id_use_workflow">{% trans "This team is using the translation workflow" %}</label>
<tr><th valign="top"><span class="help">&nbsp;</span><br />{{ form.presentation.label }}:</th>
<td>{{ form.presentation.label.errors }}
<span class="help">{% trans "This content may use <a href='http://en.wikipedia.org/wiki/Markdown'>Markdown</a> syntax" %}<br />
<span class="help">{% trans "This content may use <a href='https://en.wikipedia.org/wiki/Markdown'>Markdown</a> syntax" %}<br />
{{ form.presentation }}</td></tr>
<tr><td colspan="2" align="right"><input type="submit" value="{% trans 'Save' %}"/></td></tr>
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment