Commit b689c30b authored by legton's avatar legton
Browse files

Merge branch 'issue/622' into 'rc-1.0.2'

SCRUM#622: Fix previously hardcoded system version in the slideshow

See merge request !21
parents 5c9c646c a036920d
Pipeline #18743 passed with stages
in 4 minutes and 23 seconds
le-ubiquity-slideshow (1.0.2) unstable; urgency=medium
* Fix previously hardcoded system version in the slideshow (Closes: #622)
* debian/control: Add uploaders field
* debian/install: Rename the file to simply "install"
* debian/preinst: Create file to set the system version before installation
-- Lucas Sulzbach <lesuporte@c3sl.ufpr.br> Thu, 29 Nov 2018 11:01:17 -0200
le-ubiquity-slideshow (1.0.1) testing; urgency=medium
* Update system release version
......
......@@ -2,6 +2,7 @@ Source: le-ubiquity-slideshow
Section: metapackages
Priority: optional
Maintainer: C3SL <contato@c3sl.ufpr.br>
Uploaders: Levi Gomes <lhgs15@inf.ufpr.br>, Stephanie Briere Americo <sba16@c3sl.ufpr.br>, Rafael Sanfelice Castilho <rsc15@inf.ufpr.br>, Daniel Bissani Furlin <dbf15@c3sl.ufpr.br>, Lucas Sulzbach <ls17@c3sl.ufpr.br>
Build-Depends: cdbs, debhelper (>= 5)
Build-Depends-Indep: po4a, python-utidylib, python
Standards-Version: 3.9.7
......
#!/bin/bash
#
# Copyright (C) 2018 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-control-panel
#
# le6-control-panel is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
set -e
# Get system's pretty name
# Disables warning about shellcheck not having access to file
# shellcheck disable=SC1091
source /etc/os-release
# Replace every occurrence of ##PRETTY_NAME## with the actual pretty name
find /usr/share/ubiquity-slideshow/slides/ -type f -name "*.html" -print0 | xargs -0 sed --in-place "s/##PRETTY_NAME##/${PRETTY_NAME}/g"
exit 0
......@@ -130,17 +130,17 @@ msgstr ""
#. type: Content of: <div><h1>
#: slideshows/slides/welcome.html:2
msgid "Welcome to Linux Educacional 6.1.1"
msgstr "Bem vindo ao Linux Educacional 6.1.1"
msgid "Welcome to ##PRETTY_NAME##"
msgstr "Bem vindo ao ##PRETTY_NAME##"
#. type: Content of: <div><div><div><p>
#: slideshows/slides/welcome.html:8
msgid ""
"Linux Educacional 6.1.1 was developed with user feedback in mind. With a set of "
"##PRETTY_NAME## was developed with user feedback in mind. With a set of "
"new features, LE6 makes the use and maintenance of computers in a school "
"enviroment more <strong>natural</strong> and <strong>convenient</strong>."
msgstr ""
"O Linux Educacional 6.1.1 foi desenvolvido para atender as demandas dos seus usuários. Com "
"O ##PRETTY_NAME## foi desenvolvido para atender as demandas dos seus usuários. Com "
"uma gama de funções novas, o uso e manutenção de computadores num ambiente escolar é "
"mais <strong>natural</strong> e <strong>conveniente</strong> com o LE6."
......
<div class="header welcome">
<h1 class="slidetitle welcome">Welcome to Linux Educacional 6.1.1</h1>
<h1 class="slidetitle welcome">Welcome to ##PRETTY_NAME##</h1>
</div>
<div class="main welcome">
<div class="text">
<div>
<p><br /> <br />Linux Educacional 6.1.1 was developed with user feedback in mind. With a set of new features, LE6 makes the use and maintenance of computers in a school enviroment more <strong>natural</strong> and <strong>convenient</strong>.<br /> <br />The new color scheme was inspired by the Yellow Cardinal, a native south american bird of extraordinary visual and auditory beauty.</p>
<p><br /> <br />##PRETTY_NAME## was developed with user feedback in mind. With a set of new features, LE6 makes the use and maintenance of computers in a school enviroment more <strong>natural</strong> and <strong>convenient</strong>.<br /> <br />The new color scheme was inspired by the Yellow Cardinal, a native south american bird of extraordinary visual and auditory beauty.</p>
</div>
</div>
......
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