~carla-sella/ubuntu-calendar-app/fix-dayview-default-view

400.1.1 by mihirsoni-123
Added copyright header comments in all the pages
1
/*
400.1.2 by mihirsoni-123
updated copyright year
2
 * Copyright (C) 2013-2014 Canonical Ltd
400.1.1 by mihirsoni-123
Added copyright header comments in all the pages
3
 *
4
 * This file is part of Ubuntu Calendar App
5
 *
6
 * Ubuntu Calendar App is free software: you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License version 3 as
8
 * published by the Free Software Foundation.
9
 *
10
 * Ubuntu Calendar 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.
14
 *
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/>.
17
 */
412.2.12 by Nekhelesh Ramananthan
merged trunk
18
463.1.1 by Akiva Avraham
Updated library imports to qtquick-2.3
19
import QtQuick 2.3
412.2.12 by Nekhelesh Ramananthan
merged trunk
20
import Ubuntu.Components 1.1
21
372.1.1 by Kunal Parmar
Moved component to file to ease the translation
22
QtObject {
23
    property var recurrenceLabel:[i18n.tr("Once"),
24
        i18n.tr("Daily"),
412.3.3 by Mihir Soni
Logic upated
25
        i18n.tr("On Weekdays"),
502.1.1 by David Planella
Fixed a few translatable strings for consistence and added translator comments
26
        // TRANSLATORS: The arguments refer to days of the week. E.g. "On Monday, Tuesday, Thursday"
27
        i18n.tr("On %1, %2 ,%3").arg(Qt.locale().dayName(Qt.Monday,Locale.NarrowFormat)).arg(Qt.locale().dayName(Qt.Wednesday,Locale.NarrowFormat)).arg(Qt.locale().dayName(Qt.Friday,Locale.NarrowFormat)),
28
        // TRANSLATORS: The arguments refer to days of the week. E.g. "On Monday and Thursday"
471.2.13 by Mihir Soni
More Code smilplfied , addressed all comments
29
        i18n.tr("On %1 and %2").arg(Qt.locale().dayName(Qt.Tuesday,Locale.NarrowFormat)).arg(Qt.locale().dayName(Qt.Thursday,Locale.NarrowFormat)),
372.1.1 by Kunal Parmar
Moved component to file to ease the translation
30
        i18n.tr("Weekly"),
31
        i18n.tr("Monthly"),
32
        i18n.tr("Yearly")];
33
}