2
* Copyright 2013 Canonical Ltd.
4
* This file is part of webbrowser-app.
6
* webbrowser-app is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 3.
10
* webbrowser-app is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
import Ubuntu.Components 0.1
25
signal refreshClicked()
31
anchors.margins: units.gu(4)
38
text: i18n.tr("Network Error")
43
text: i18n.tr("It appears you are having trouble viewing: %1.").arg(url)
49
text: i18n.tr("Ubuntu suggests you check your network settings and try refreshing the page.")
54
text: i18n.tr("Refresh page")
56
onClicked: refreshClicked()