summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogResources.py
blob: b1d53de6b4f647a2e0b8d1f93953d422420eb3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
#   Licensed to the Apache Software Foundation (ASF) under one or more
#   contributor license agreements. See the NOTICE file distributed
#   with this work for additional information regarding copyright
#   ownership. The ASF licenses this file to you under the Apache
#   License, Version 2.0 (the "License"); you may not use this file
#   except in compliance with the License. You may obtain a copy of
#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
#

class AgendaWizardDialogResources(object):

    SECTION_ITEMS = "AGENDA_ITEMS"
    SECTION_TOPICS = "AGENDA_TOPICS"
    SECTION_MINUTES_ALL = "MINUTES_ALL"
    SECTION_MINUTES = "MINUTES"

    def __init__(self):
        import imp, os
        imp.load_source('strings', os.path.join(os.path.dirname(__file__), '../common/strings.hrc'))
        import strings

        self.resAgendaWizardDialog_title = strings.RID_AGENDAWIZARDDIALOG_START_1
        self.resoptMakeChanges_value = strings.RID_AGENDAWIZARDDIALOG_START_2
        self.reslblTemplateName_value = strings.RID_AGENDAWIZARDDIALOG_START_3
        self.reslblTemplatePath_value = strings.RID_AGENDAWIZARDDIALOG_START_4
        self.reslblProceed_value = strings.RID_AGENDAWIZARDDIALOG_START_5
        self.reslblTitle1_value = strings.RID_AGENDAWIZARDDIALOG_START_6
        self.reslblTitle3_value = strings.RID_AGENDAWIZARDDIALOG_START_7
        self.reslblTitle2_value = strings.RID_AGENDAWIZARDDIALOG_START_8
        self.reslblTitle4_value = strings.RID_AGENDAWIZARDDIALOG_START_9
        self.reslblTitle5_value = strings.RID_AGENDAWIZARDDIALOG_START_10
        self.reslblTitle6_value = strings.RID_AGENDAWIZARDDIALOG_START_11
        self.reschkMinutes_value = strings.RID_AGENDAWIZARDDIALOG_START_12
        self.reslblHelp1_value = strings.RID_AGENDAWIZARDDIALOG_START_13
        self.reslblTime_value = strings.RID_AGENDAWIZARDDIALOG_START_14
        self.reslblTitle_value = strings.RID_AGENDAWIZARDDIALOG_START_15
        self.reslblLocation_value = strings.RID_AGENDAWIZARDDIALOG_START_16
        self.reslblHelp2_value = strings.RID_AGENDAWIZARDDIALOG_START_17
        self.resbtnTemplatePath_value = strings.RID_AGENDAWIZARDDIALOG_START_18
        self.resoptCreateAgenda_value = strings.RID_AGENDAWIZARDDIALOG_START_19
        self.reslblHelp6_value = strings.RID_AGENDAWIZARDDIALOG_START_20
        self.reslblTopic_value = strings.RID_AGENDAWIZARDDIALOG_START_21
        self.reslblResponsible_value = strings.RID_AGENDAWIZARDDIALOG_START_22
        self.reslblDuration_value = strings.RID_AGENDAWIZARDDIALOG_START_23
        self.reschkConvenedBy_value = strings.RID_AGENDAWIZARDDIALOG_START_24
        self.reschkPresiding_value = strings.RID_AGENDAWIZARDDIALOG_START_25
        self.reschkNoteTaker_value = strings.RID_AGENDAWIZARDDIALOG_START_26
        self.reschkTimekeeper_value = strings.RID_AGENDAWIZARDDIALOG_START_27
        self.reschkAttendees_value = strings.RID_AGENDAWIZARDDIALOG_START_28
        self.reschkObservers_value = strings.RID_AGENDAWIZARDDIALOG_START_29
        self.reschkResourcePersons_value = strings.RID_AGENDAWIZARDDIALOG_START_30
        self.reslblHelp4_value = strings.RID_AGENDAWIZARDDIALOG_START_31
        self.reschkMeetingTitle_value = strings.RID_AGENDAWIZARDDIALOG_START_32
        self.reschkRead_value = strings.RID_AGENDAWIZARDDIALOG_START_33
        self.reschkBring_value = strings.RID_AGENDAWIZARDDIALOG_START_34
        self.reschkNotes_value = strings.RID_AGENDAWIZARDDIALOG_START_35
        self.reslblHelp3_value = strings.RID_AGENDAWIZARDDIALOG_START_36
        self.reslblDate_value = strings.RID_AGENDAWIZARDDIALOG_START_38
        self.reslblHelpPg6_value = strings.RID_AGENDAWIZARDDIALOG_START_39
        self.reslblPageDesign_value = strings.RID_AGENDAWIZARDDIALOG_START_40
        self.resDefaultFilename = strings.RID_AGENDAWIZARDDIALOG_START_41
        self.resDefaultFilename = self.resDefaultFilename[:-4] + ".ott"
        self.resDefaultTitle = strings.RID_AGENDAWIZARDDIALOG_START_42
        self.resErrSaveTemplate = strings.RID_AGENDAWIZARDDIALOG_START_43
        self.resPlaceHolderTitle = strings.RID_AGENDAWIZARDDIALOG_START_44
        self.resPlaceHolderDate = strings.RID_AGENDAWIZARDDIALOG_START_45
        self.resPlaceHolderTime = strings.RID_AGENDAWIZARDDIALOG_START_46
        self.resPlaceHolderLocation = strings.RID_AGENDAWIZARDDIALOG_START_47
        self.resPlaceHolderHint = strings.RID_AGENDAWIZARDDIALOG_START_48
        self.resErrOpenTemplate = strings.RID_AGENDAWIZARDDIALOG_START_56
        self.itemMeetingType = strings.RID_AGENDAWIZARDDIALOG_START_57
        self.itemBring = strings.RID_AGENDAWIZARDDIALOG_START_58
        self.itemRead = strings.RID_AGENDAWIZARDDIALOG_START_59
        self.itemNote = strings.RID_AGENDAWIZARDDIALOG_START_60
        self.itemCalledBy = strings.RID_AGENDAWIZARDDIALOG_START_61
        self.itemFacilitator = strings.RID_AGENDAWIZARDDIALOG_START_62
        self.itemAttendees = strings.RID_AGENDAWIZARDDIALOG_START_63
        self.itemNotetaker = strings.RID_AGENDAWIZARDDIALOG_START_64
        self.itemTimekeeper = strings.RID_AGENDAWIZARDDIALOG_START_65
        self.itemObservers = strings.RID_AGENDAWIZARDDIALOG_START_66
        self.itemResource = strings.RID_AGENDAWIZARDDIALOG_START_67
        self.resButtonInsert = strings.RID_AGENDAWIZARDDIALOG_START_68
        self.resButtonRemove = strings.RID_AGENDAWIZARDDIALOG_START_69
        self.resButtonUp = strings.RID_AGENDAWIZARDDIALOG_START_70
        self.resButtonDown = strings.RID_AGENDAWIZARDDIALOG_START_71

        #Create a dictionary for localised string in the template
        self.dictConstants = {
        "#datetitle#" : strings.RID_AGENDAWIZARDDIALOG_START_72,
        "#timetitle#" : strings.RID_AGENDAWIZARDDIALOG_START_73,
        "#locationtitle#" : strings.RID_AGENDAWIZARDDIALOG_START_74,
        "#topics#" : strings.RID_AGENDAWIZARDDIALOG_START_75,
        "#num.#" : strings.RID_AGENDAWIZARDDIALOG_START_76,
        "#topicheader#" : strings.RID_AGENDAWIZARDDIALOG_START_77,
        "#responsibleheader#" : strings.RID_AGENDAWIZARDDIALOG_START_78,
        "#timeheader#" : strings.RID_AGENDAWIZARDDIALOG_START_79,
        "#additional-information#" : strings.RID_AGENDAWIZARDDIALOG_START_80,
        "#minutes-for#" : strings.RID_AGENDAWIZARDDIALOG_START_81,
        "#discussion#" : strings.RID_AGENDAWIZARDDIALOG_START_82,
        "#conclusion#" : strings.RID_AGENDAWIZARDDIALOG_START_83,
        "#to-do#" : strings.RID_AGENDAWIZARDDIALOG_START_84,
        "#responsible-party#" : strings.RID_AGENDAWIZARDDIALOG_START_85,
        "#deadline#" : strings.RID_AGENDAWIZARDDIALOG_START_86}

        #Create a dictionary for localising the page design
        self.dictPageDesign = {
        "Blue" : strings.RID_AGENDAWIZARDDIALOG_START_87,
        "Classic" : strings.RID_AGENDAWIZARDDIALOG_START_88,
        "Colorful" : strings.RID_AGENDAWIZARDDIALOG_START_89,
        "Elegant" : strings.RID_AGENDAWIZARDDIALOG_START_90,
        "Green" : strings.RID_AGENDAWIZARDDIALOG_START_91,
        "Grey" : strings.RID_AGENDAWIZARDDIALOG_START_92,
        "Modern" : strings.RID_AGENDAWIZARDDIALOG_START_93,
        "Orange" : strings.RID_AGENDAWIZARDDIALOG_START_94,
        "Red" : strings.RID_AGENDAWIZARDDIALOG_START_95,
        "Simple" : strings.RID_AGENDAWIZARDDIALOG_START_96}

        #Common Resources
        self.resOverwriteWarning = strings.RID_COMMON_START_19
        self.resTemplateDescription = strings.RID_COMMON_START_20

        self.RoadmapLabels = []
        self.RoadmapLabels.append(strings.RID_AGENDAWIZARDDIALOG_START_50)
        self.RoadmapLabels.append(strings.RID_AGENDAWIZARDDIALOG_START_51)
        self.RoadmapLabels.append(strings.RID_AGENDAWIZARDDIALOG_START_52)
        self.RoadmapLabels.append(strings.RID_AGENDAWIZARDDIALOG_START_53)
        self.RoadmapLabels.append(strings.RID_AGENDAWIZARDDIALOG_START_54)
        self.RoadmapLabels.append(strings.RID_AGENDAWIZARDDIALOG_START_55)