From 367c4d5aa807839b2106545cf8bc99a274e1a7f4 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 10 Oct 2016 07:36:00 +0200 Subject: new name: the last one. --- src/web/export.py | 6 ++-- src/web/forms.py | 8 +++--- src/web/js/app.js | 2 +- src/web/js/components/MainApp.react.js | 2 +- src/web/js/components/Navbar.react.js | 8 +++--- src/web/lib/misc_utils.py | 8 +++--- src/web/models/__init__.py | 4 +-- src/web/models/article.py | 4 +-- src/web/models/feed.py | 4 +-- src/web/models/role.py | 4 +-- src/web/models/user.py | 4 +-- src/web/static/css/customized-bootstrap.css | 20 ++++++------- src/web/static/css/one-page-app.css | 2 +- src/web/static/img/jarr.svg | 2 +- src/web/templates/about.html | 14 ++++----- src/web/templates/emails/new_password.txt | 2 +- src/web/templates/home.html | 2 +- src/web/templates/layout.html | 8 +++--- src/web/templates/opml.xml | 2 +- src/web/translations/fr/LC_MESSAGES/messages.mo | Bin 16913 -> 16985 bytes src/web/translations/fr/LC_MESSAGES/messages.po | 36 ++++++++++++------------ src/web/translations/messages.pot | 14 ++++----- src/web/views/api/v3/article.py | 4 +-- src/web/views/api/v3/common.py | 4 +-- src/web/views/api/v3/feed.py | 4 +-- 25 files changed, 84 insertions(+), 84 deletions(-) (limited to 'src/web') diff --git a/src/web/export.py b/src/web/export.py index 048dc064..98473c9e 100644 --- a/src/web/export.py +++ b/src/web/export.py @@ -1,10 +1,10 @@ #! /usr/bin/env python #-*- coding: utf-8 -*- -# JARR - A Web based news aggregator. +# Newspipe - A Web based news aggregator. # Copyright (C) 2010-2016 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information : https://github.com/JARR/JARR +# For more information : https://github.com/Newspipe/Newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -27,7 +27,7 @@ __copyright__ = "Copyright (c) Cedric Bonhomme" __license__ = "AGPLv3" # -# This file contains the export functions of jarr. +# This file contains the export functions of newspipe. # from flask import jsonify diff --git a/src/web/forms.py b/src/web/forms.py index a604897e..a1864175 100644 --- a/src/web/forms.py +++ b/src/web/forms.py @@ -1,10 +1,10 @@ #! /usr/bin/env python # -*- coding: utf-8 -*- -# JARR - A Web based news aggregator. +# Newspipe - A Web based news aggregator. # Copyright (C) 2010-2016 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information : http://github.com/JARR/JARR +# For more information : http://github.com/Newspipe/Newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ from web.models import User class SignupForm(Form): """ - Sign up form (registration to jarr). + Sign up form (registration to newspipe). """ nickname = TextField(lazy_gettext("Nickname"), [validators.Required(lazy_gettext("Please enter your nickname."))]) @@ -86,7 +86,7 @@ class RedirectForm(Form): class SigninForm(RedirectForm): """ - Sign in form (connection to jarr). + Sign in form (connection to newspipe). """ email_or_nickmane = TextField("Email or nickname", [validators.Length(min=3, max=35), diff --git a/src/web/js/app.js b/src/web/js/app.js index 00156670..7837e6ae 100644 --- a/src/web/js/app.js +++ b/src/web/js/app.js @@ -14,5 +14,5 @@ var MainApp = require('./components/MainApp.react'); ReactDOM.render( , - document.getElementById('jarrapp') + document.getElementById('newspipeapp') ); diff --git a/src/web/js/components/MainApp.react.js b/src/web/js/components/MainApp.react.js index 6e695b49..8105d32f 100644 --- a/src/web/js/components/MainApp.react.js +++ b/src/web/js/components/MainApp.react.js @@ -10,7 +10,7 @@ var RightPanel = require('./RightPanel.react'); var MainApp = React.createClass({ render: function() { return (
- + diff --git a/src/web/js/components/Navbar.react.js b/src/web/js/components/Navbar.react.js index 67e9ed56..ca2ff27b 100644 --- a/src/web/js/components/Navbar.react.js +++ b/src/web/js/components/Navbar.react.js @@ -70,22 +70,22 @@ JarrNavBar = React.createClass({ this.setState({showModal: true, modalType: 'addCategory'}); }, render: function() { - return ( + return ( {this.getModal()} - JARR + Newspipe

{{ _('Help') }}

-

{{ _('The documentation of the API is here.') }}

+

{{ _('The documentation of the API is here.') }}

{{ _('You can subscribe to new feeds with a bookmarklet. Drag the following button to your browser bookmarks.') }}

- {{ _('Subscribe to this feed using JARR', bookmarklet='javascript:window.location="%s?url="+encodeURIComponent(document.location)' % url_for('feed.bookmarklet', _external=True)) }} + {{ _('Subscribe to this feed using Newspipe', bookmarklet='javascript:window.location="%s?url="+encodeURIComponent(document.location)' % url_for('feed.bookmarklet', _external=True)) }}
{% endblock %} diff --git a/src/web/templates/emails/new_password.txt b/src/web/templates/emails/new_password.txt index 40bdc207..1a04a36d 100644 --- a/src/web/templates/emails/new_password.txt +++ b/src/web/templates/emails/new_password.txt @@ -3,6 +3,6 @@ Hello {{ user.nickname }}, A new password has been generated at your request: {{ password }} -It is advised to replace it as soon as connected to JARR. +It is advised to replace it as soon as connected to Newspipe. See you, diff --git a/src/web/templates/home.html b/src/web/templates/home.html index 64e8140d..fe68861a 100644 --- a/src/web/templates/home.html +++ b/src/web/templates/home.html @@ -4,6 +4,6 @@ {% endblock %} {% block content %} -
+
{% endblock %} diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html index 804ec5d6..3e44c4eb 100644 --- a/src/web/templates/layout.html +++ b/src/web/templates/layout.html @@ -4,9 +4,9 @@ {% block head %} - + - JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} + Newspipe{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} @@ -19,7 +19,7 @@ {% block menu %} -