Merge lp:~suutari-olli/openlp/rename_Powerpoint_to_PowerPoint into lp:openlp
- rename_Powerpoint_to_PowerPoint
- Merge into trunk
Status: | Needs review |
---|---|
Proposed branch: | lp:~suutari-olli/openlp/rename_Powerpoint_to_PowerPoint |
Merge into: | lp:openlp |
Diff against target: |
912 lines (+123/-123) 39 files modified
openlp/plugins/presentations/lib/mediaitem.py (+1/-1) openlp/plugins/presentations/lib/powerpointcontroller.py (+10/-10) openlp/plugins/presentations/lib/pptviewcontroller.py (+1/-1) openlp/plugins/presentations/lib/presentationcontroller.py (+1/-1) openlp/plugins/presentations/lib/presentationtab.py (+2/-2) openlp/plugins/presentations/presentationplugin.py (+2/-2) openlp/plugins/songs/lib/importers/openoffice.py (+1/-1) resources/i18n/af.ts (+2/-2) resources/i18n/bg.ts (+2/-2) resources/i18n/cs.ts (+3/-3) resources/i18n/da.ts (+3/-3) resources/i18n/de.ts (+3/-3) resources/i18n/el.ts (+2/-2) resources/i18n/en.ts (+3/-3) resources/i18n/en_GB.ts (+3/-3) resources/i18n/en_ZA.ts (+3/-3) resources/i18n/es.ts (+2/-2) resources/i18n/et.ts (+3/-3) resources/i18n/fi.ts (+3/-3) resources/i18n/fr.ts (+2/-2) resources/i18n/hu.ts (+3/-3) resources/i18n/id.ts (+2/-2) resources/i18n/ja.ts (+2/-2) resources/i18n/ko.ts (+2/-2) resources/i18n/lt.ts (+3/-3) resources/i18n/nb.ts (+3/-3) resources/i18n/nl.ts (+4/-4) resources/i18n/pl.ts (+3/-3) resources/i18n/pt_BR.ts (+2/-2) resources/i18n/ru.ts (+2/-2) resources/i18n/sk.ts (+3/-3) resources/i18n/sv.ts (+3/-3) resources/i18n/ta_LK.ts (+2/-2) resources/i18n/th_TH.ts (+2/-2) resources/i18n/zh_CN.ts (+2/-2) resources/i18n/zh_TW.ts (+3/-3) tests/functional/openlp_plugins/presentations/test_mediaitem.py (+2/-2) tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py (+24/-24) tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py (+4/-4) |
To merge this branch: | bzr merge lp:~suutari-olli/openlp/rename_Powerpoint_to_PowerPoint |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Bentley | Disapprove | ||
Review via email: mp+277238@code.launchpad.net |
Commit message
Description of the change
At the moment PowerPoint is called as Powerpoint in the UI.
This branch renames all occurrences of "Powerpoint" to "PowerPoint"
The all small "powerpoint" is left un-touched.
Nothing else is changed in this branch.
Total count of replaced "Powerpoint" in text editor: 126
https:/
Azaziah (suutari-olli) wrote : | # |
Thanks for the review trb143,
however, you have clearly have missed some things and leave a few questions:
First of all, this also changes how PowerPoint is called in list of presentation
controllers. This includes both Powerpoint and Powerpoint viewer.
These are un-translatable and come directly from some part of the code which
includes “Powerpoint”. If we change “Powerpoint” from one function but leave
the other “Internals” in-touched, changes are something gets broken. If we are
going to start PowerPoint with big P, we should always bring along the 2nd the
way. While capitalizing the 1st letter seems okayish standard normally, I
think we shouldn’t do it with PowerPoint.
Translations: Really? Can’t we just backup the translations
for the current string and re-place the new one with the old ones.
(With the big P fix). This shouldn’t be too much work for one person,
if it comes to that – I’d gladly do it.
Settings migration: If something was called
“Powerpoint” it is now called: “PowerPoint”
New tests: If something was called “Powerpoint”
it is now called: “PowerPoint”
Jenkins: Please re-read the description, it clearly includes
link to Jenkins test suite. You should be able to open the other
tests from the last one easily.
As stated before, this branch only renames
Powerpoint to PowerPoint everywhere,
if the i18n strings are a problem,
I can leave them out from the branch.
What kind of tests are you perhaps hoping to see with this change?
What do you mean with setting migration?
Tim Bentley (trb143) wrote : | # |
1) It does not matter if you think you got all the changes it increases potential instability in code. We have been there are it is a risk for no gain.
2) Internal names do not matter, external ones do and that is why changing the Message may help.
3) The names are used internally and compared to drive processes, this is brittle but works and you plan to change it.
4) Jenkins we need to complete run not just a bit of it. How do I know you did not break the tests.
5) Any test to increase test coverage.
6) if you change a setting then you need to make sure the value is preserved across the change. Look in settings.py there is an example of a change from songs to advanced.
All this said this will not be going in so please do not resubmit, Please can you help and find some bugs and features to add and the tak this project forward. Your effort is appreciated but chaning things for change sake is not going to help.
Preview Diff
1 | === modified file 'openlp/plugins/presentations/lib/mediaitem.py' | |||
2 | --- openlp/plugins/presentations/lib/mediaitem.py 2015-06-02 21:13:15 +0000 | |||
3 | +++ openlp/plugins/presentations/lib/mediaitem.py 2015-11-11 12:38:06 +0000 | |||
4 | @@ -42,7 +42,7 @@ | |||
5 | 42 | class PresentationMediaItem(MediaManagerItem): | 42 | class PresentationMediaItem(MediaManagerItem): |
6 | 43 | """ | 43 | """ |
7 | 44 | This is the Presentation media manager item for Presentation Items. It can present files using Openoffice and | 44 | This is the Presentation media manager item for Presentation Items. It can present files using Openoffice and |
9 | 45 | Powerpoint | 45 | PowerPoint |
10 | 46 | """ | 46 | """ |
11 | 47 | log.info('Presentations Media Item loaded') | 47 | log.info('Presentations Media Item loaded') |
12 | 48 | 48 | ||
13 | 49 | 49 | ||
14 | === modified file 'openlp/plugins/presentations/lib/powerpointcontroller.py' | |||
15 | --- openlp/plugins/presentations/lib/powerpointcontroller.py 2015-06-16 07:47:42 +0000 | |||
16 | +++ openlp/plugins/presentations/lib/powerpointcontroller.py 2015-11-11 12:38:06 +0000 | |||
17 | @@ -48,19 +48,19 @@ | |||
18 | 48 | log = logging.getLogger(__name__) | 48 | log = logging.getLogger(__name__) |
19 | 49 | 49 | ||
20 | 50 | 50 | ||
22 | 51 | class PowerpointController(PresentationController): | 51 | class PowerPointController(PresentationController): |
23 | 52 | """ | 52 | """ |
24 | 53 | Class to control interactions with PowerPoint Presentations. It creates the runtime Environment , Loads the and | 53 | Class to control interactions with PowerPoint Presentations. It creates the runtime Environment , Loads the and |
25 | 54 | Closes the Presentation. As well as triggering the correct activities based on the users input. | 54 | Closes the Presentation. As well as triggering the correct activities based on the users input. |
26 | 55 | """ | 55 | """ |
28 | 56 | log.info('PowerpointController loaded') | 56 | log.info('PowerPointController loaded') |
29 | 57 | 57 | ||
30 | 58 | def __init__(self, plugin): | 58 | def __init__(self, plugin): |
31 | 59 | """ | 59 | """ |
32 | 60 | Initialise the class | 60 | Initialise the class |
33 | 61 | """ | 61 | """ |
34 | 62 | log.debug('Initialising') | 62 | log.debug('Initialising') |
36 | 63 | super(PowerpointController, self).__init__(plugin, 'Powerpoint', PowerpointDocument) | 63 | super(PowerPointController, self).__init__(plugin, 'PowerPoint', PowerPointDocument) |
37 | 64 | self.supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm'] | 64 | self.supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm'] |
38 | 65 | self.process = None | 65 | self.process = None |
39 | 66 | 66 | ||
40 | @@ -116,7 +116,7 @@ | |||
41 | 116 | self.process = None | 116 | self.process = None |
42 | 117 | 117 | ||
43 | 118 | 118 | ||
45 | 119 | class PowerpointDocument(PresentationDocument): | 119 | class PowerPointDocument(PresentationDocument): |
46 | 120 | """ | 120 | """ |
47 | 121 | Class which holds information and controls a single presentation. | 121 | Class which holds information and controls a single presentation. |
48 | 122 | """ | 122 | """ |
49 | @@ -128,8 +128,8 @@ | |||
50 | 128 | :param controller: | 128 | :param controller: |
51 | 129 | :param presentation: | 129 | :param presentation: |
52 | 130 | """ | 130 | """ |
55 | 131 | log.debug('Init Presentation Powerpoint') | 131 | log.debug('Init Presentation PowerPoint') |
56 | 132 | super(PowerpointDocument, self).__init__(controller, presentation) | 132 | super(PowerPointDocument, self).__init__(controller, presentation) |
57 | 133 | self.presentation = None | 133 | self.presentation = None |
58 | 134 | self.index_map = {} | 134 | self.index_map = {} |
59 | 135 | self.slide_count = 0 | 135 | self.slide_count = 0 |
60 | @@ -155,7 +155,7 @@ | |||
61 | 155 | Registry().get('main_window').activateWindow() | 155 | Registry().get('main_window').activateWindow() |
62 | 156 | return True | 156 | return True |
63 | 157 | except (AttributeError, pywintypes.com_error) as e: | 157 | except (AttributeError, pywintypes.com_error) as e: |
65 | 158 | log.exception('Exception caught while loading Powerpoint presentation') | 158 | log.exception('Exception caught while loading PowerPoint presentation') |
66 | 159 | log.exception(e) | 159 | log.exception(e) |
67 | 160 | trace_error_handler(log) | 160 | trace_error_handler(log) |
68 | 161 | return False | 161 | return False |
69 | @@ -511,10 +511,10 @@ | |||
70 | 511 | try: | 511 | try: |
71 | 512 | self.presentation.SlideShowWindow.View.Exit() | 512 | self.presentation.SlideShowWindow.View.Exit() |
72 | 513 | except (AttributeError, pywintypes.com_error) as e: | 513 | except (AttributeError, pywintypes.com_error) as e: |
74 | 514 | log.exception('Failed to exit Powerpoint presentation after error') | 514 | log.exception('Failed to exit PowerPoint presentation after error') |
75 | 515 | log.exception(e) | 515 | log.exception(e) |
78 | 516 | critical_error_message_box(UiStrings().Error, translate('PresentationPlugin.PowerpointDocument', | 516 | critical_error_message_box(UiStrings().Error, translate('PresentationPlugin.PowerPointDocument', |
79 | 517 | 'An error occurred in the Powerpoint integration ' | 517 | 'An error occurred in the PowerPoint integration ' |
80 | 518 | 'and the presentation will be stopped. ' | 518 | 'and the presentation will be stopped. ' |
81 | 519 | 'Restart the presentation if you wish to present it.')) | 519 | 'Restart the presentation if you wish to present it.')) |
82 | 520 | 520 | ||
83 | 521 | 521 | ||
84 | === modified file 'openlp/plugins/presentations/lib/pptviewcontroller.py' | |||
85 | --- openlp/plugins/presentations/lib/pptviewcontroller.py 2015-01-18 13:39:21 +0000 | |||
86 | +++ openlp/plugins/presentations/lib/pptviewcontroller.py 2015-11-11 12:38:06 +0000 | |||
87 | @@ -55,7 +55,7 @@ | |||
88 | 55 | """ | 55 | """ |
89 | 56 | log.debug('Initialising') | 56 | log.debug('Initialising') |
90 | 57 | self.process = None | 57 | self.process = None |
92 | 58 | super(PptviewController, self).__init__(plugin, 'Powerpoint Viewer', PptviewDocument) | 58 | super(PptviewController, self).__init__(plugin, 'PowerPoint Viewer', PptviewDocument) |
93 | 59 | self.supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm'] | 59 | self.supports = ['ppt', 'pps', 'pptx', 'ppsx', 'pptm'] |
94 | 60 | 60 | ||
95 | 61 | def check_available(self): | 61 | def check_available(self): |
96 | 62 | 62 | ||
97 | === modified file 'openlp/plugins/presentations/lib/presentationcontroller.py' | |||
98 | --- openlp/plugins/presentations/lib/presentationcontroller.py 2015-03-09 21:39:31 +0000 | |||
99 | +++ openlp/plugins/presentations/lib/presentationcontroller.py 2015-11-11 12:38:06 +0000 | |||
100 | @@ -352,7 +352,7 @@ | |||
101 | 352 | ``__init__``, ``check_available`` and ``presentation_deleted`` should always be implemented. | 352 | ``__init__``, ``check_available`` and ``presentation_deleted`` should always be implemented. |
102 | 353 | 353 | ||
103 | 354 | See :class:`~openlp.plugins.presentations.lib.impresscontroller.ImpressController`, | 354 | See :class:`~openlp.plugins.presentations.lib.impresscontroller.ImpressController`, |
105 | 355 | :class:`~openlp.plugins.presentations.lib.powerpointcontroller.PowerpointController` or | 355 | :class:`~openlp.plugins.presentations.lib.powerpointcontroller.PowerPointController` or |
106 | 356 | :class:`~openlp.plugins.presentations.lib.pptviewcontroller.PptviewController` | 356 | :class:`~openlp.plugins.presentations.lib.pptviewcontroller.PptviewController` |
107 | 357 | for examples. | 357 | for examples. |
108 | 358 | 358 | ||
109 | 359 | 359 | ||
110 | === modified file 'openlp/plugins/presentations/lib/presentationtab.py' | |||
111 | --- openlp/plugins/presentations/lib/presentationtab.py 2015-06-02 21:16:10 +0000 | |||
112 | +++ openlp/plugins/presentations/lib/presentationtab.py 2015-11-11 12:38:06 +0000 | |||
113 | @@ -148,10 +148,10 @@ | |||
114 | 148 | controller = self.controllers[key] | 148 | controller = self.controllers[key] |
115 | 149 | checkbox = self.presenter_check_boxes[controller.name] | 149 | checkbox = self.presenter_check_boxes[controller.name] |
116 | 150 | checkbox.setChecked(Settings().value(self.settings_section + '/' + controller.name)) | 150 | checkbox.setChecked(Settings().value(self.settings_section + '/' + controller.name)) |
118 | 151 | if controller.name == 'Powerpoint' and controller.is_available(): | 151 | if controller.name == 'PowerPoint' and controller.is_available(): |
119 | 152 | powerpoint_available = True | 152 | powerpoint_available = True |
120 | 153 | self.override_app_check_box.setChecked(Settings().value(self.settings_section + '/override app')) | 153 | self.override_app_check_box.setChecked(Settings().value(self.settings_section + '/override app')) |
122 | 154 | # Load Powerpoint settings | 154 | # Load PowerPoint settings |
123 | 155 | self.ppt_slide_click_check_box.setChecked(Settings().value(self.settings_section + | 155 | self.ppt_slide_click_check_box.setChecked(Settings().value(self.settings_section + |
124 | 156 | '/powerpoint slide click advance')) | 156 | '/powerpoint slide click advance')) |
125 | 157 | self.ppt_slide_click_check_box.setEnabled(powerpoint_available) | 157 | self.ppt_slide_click_check_box.setEnabled(powerpoint_available) |
126 | 158 | 158 | ||
127 | === modified file 'openlp/plugins/presentations/presentationplugin.py' | |||
128 | --- openlp/plugins/presentations/presentationplugin.py 2015-10-16 16:49:58 +0000 | |||
129 | +++ openlp/plugins/presentations/presentationplugin.py 2015-11-11 12:38:06 +0000 | |||
130 | @@ -40,8 +40,8 @@ | |||
131 | 40 | 'presentations/enable_pdf_program': QtCore.Qt.Unchecked, | 40 | 'presentations/enable_pdf_program': QtCore.Qt.Unchecked, |
132 | 41 | 'presentations/pdf_program': '', | 41 | 'presentations/pdf_program': '', |
133 | 42 | 'presentations/Impress': QtCore.Qt.Checked, | 42 | 'presentations/Impress': QtCore.Qt.Checked, |
136 | 43 | 'presentations/Powerpoint': QtCore.Qt.Checked, | 43 | 'presentations/PowerPoint': QtCore.Qt.Checked, |
137 | 44 | 'presentations/Powerpoint Viewer': QtCore.Qt.Checked, | 44 | 'presentations/PowerPoint Viewer': QtCore.Qt.Checked, |
138 | 45 | 'presentations/Pdf': QtCore.Qt.Checked, | 45 | 'presentations/Pdf': QtCore.Qt.Checked, |
139 | 46 | 'presentations/presentations files': [], | 46 | 'presentations/presentations files': [], |
140 | 47 | 'presentations/thumbnail_scheme': '', | 47 | 'presentations/thumbnail_scheme': '', |
141 | 48 | 48 | ||
142 | === modified file 'openlp/plugins/songs/lib/importers/openoffice.py' | |||
143 | --- openlp/plugins/songs/lib/importers/openoffice.py 2015-08-28 10:22:06 +0000 | |||
144 | +++ openlp/plugins/songs/lib/importers/openoffice.py 2015-11-11 12:38:06 +0000 | |||
145 | @@ -49,7 +49,7 @@ | |||
146 | 49 | 49 | ||
147 | 50 | class OpenOfficeImport(SongImport): | 50 | class OpenOfficeImport(SongImport): |
148 | 51 | """ | 51 | """ |
150 | 52 | Import songs from Impress/Powerpoint docs using Impress | 52 | Import songs from Impress/PowerPoint docs using Impress |
151 | 53 | """ | 53 | """ |
152 | 54 | def __init__(self, manager, **kwargs): | 54 | def __init__(self, manager, **kwargs): |
153 | 55 | """ | 55 | """ |
154 | 56 | 56 | ||
155 | === modified file 'resources/i18n/af.ts' | |||
156 | --- resources/i18n/af.ts 2015-10-15 16:55:00 +0000 | |||
157 | +++ resources/i18n/af.ts 2015-11-11 12:38:06 +0000 | |||
158 | @@ -7604,10 +7604,10 @@ | |||
159 | 7604 | </message> | 7604 | </message> |
160 | 7605 | </context> | 7605 | </context> |
161 | 7606 | <context> | 7606 | <context> |
163 | 7607 | <name>PresentationPlugin.PowerpointDocument</name> | 7607 | <name>PresentationPlugin.PowerPointDocument</name> |
164 | 7608 | <message> | 7608 | <message> |
165 | 7609 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7609 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
167 | 7610 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7610 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
168 | 7611 | <translation type="unfinished"/> | 7611 | <translation type="unfinished"/> |
169 | 7612 | </message> | 7612 | </message> |
170 | 7613 | </context> | 7613 | </context> |
171 | 7614 | 7614 | ||
172 | === modified file 'resources/i18n/bg.ts' | |||
173 | --- resources/i18n/bg.ts 2015-10-15 16:55:00 +0000 | |||
174 | +++ resources/i18n/bg.ts 2015-11-11 12:38:06 +0000 | |||
175 | @@ -7565,10 +7565,10 @@ | |||
176 | 7565 | </message> | 7565 | </message> |
177 | 7566 | </context> | 7566 | </context> |
178 | 7567 | <context> | 7567 | <context> |
180 | 7568 | <name>PresentationPlugin.PowerpointDocument</name> | 7568 | <name>PresentationPlugin.PowerPointDocument</name> |
181 | 7569 | <message> | 7569 | <message> |
182 | 7570 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7570 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
184 | 7571 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7571 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
185 | 7572 | <translation type="unfinished"/> | 7572 | <translation type="unfinished"/> |
186 | 7573 | </message> | 7573 | </message> |
187 | 7574 | </context> | 7574 | </context> |
188 | 7575 | 7575 | ||
189 | === modified file 'resources/i18n/cs.ts' | |||
190 | --- resources/i18n/cs.ts 2015-10-15 16:55:00 +0000 | |||
191 | +++ resources/i18n/cs.ts 2015-11-11 12:38:06 +0000 | |||
192 | @@ -7708,11 +7708,11 @@ | |||
193 | 7708 | </message> | 7708 | </message> |
194 | 7709 | </context> | 7709 | </context> |
195 | 7710 | <context> | 7710 | <context> |
197 | 7711 | <name>PresentationPlugin.PowerpointDocument</name> | 7711 | <name>PresentationPlugin.PowerPointDocument</name> |
198 | 7712 | <message> | 7712 | <message> |
199 | 7713 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7713 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
202 | 7714 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7714 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
203 | 7715 | <translation>Vznikla chyba se začlenění Powerpoint prezentace a prezentace bude zastavena. Pokud si přejete prezentaci zobrazit, spusťte ji znovu.</translation> | 7715 | <translation>Vznikla chyba se začlenění PowerPoint prezentace a prezentace bude zastavena. Pokud si přejete prezentaci zobrazit, spusťte ji znovu.</translation> |
204 | 7716 | </message> | 7716 | </message> |
205 | 7717 | </context> | 7717 | </context> |
206 | 7718 | <context> | 7718 | <context> |
207 | 7719 | 7719 | ||
208 | === modified file 'resources/i18n/da.ts' | |||
209 | --- resources/i18n/da.ts 2015-10-15 16:55:00 +0000 | |||
210 | +++ resources/i18n/da.ts 2015-11-11 12:38:06 +0000 | |||
211 | @@ -7712,11 +7712,11 @@ | |||
212 | 7712 | </message> | 7712 | </message> |
213 | 7713 | </context> | 7713 | </context> |
214 | 7714 | <context> | 7714 | <context> |
216 | 7715 | <name>PresentationPlugin.PowerpointDocument</name> | 7715 | <name>PresentationPlugin.PowerPointDocument</name> |
217 | 7716 | <message> | 7716 | <message> |
218 | 7717 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7717 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
221 | 7718 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7718 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
222 | 7719 | <translation>Der opstod en fejl i Powerpoint-integrationen og presentationen vil blive stoppet. Start presentationen igen hvis du vil vise den.</translation> | 7719 | <translation>Der opstod en fejl i PowerPoint-integrationen og presentationen vil blive stoppet. Start presentationen igen hvis du vil vise den.</translation> |
223 | 7720 | </message> | 7720 | </message> |
224 | 7721 | </context> | 7721 | </context> |
225 | 7722 | <context> | 7722 | <context> |
226 | 7723 | 7723 | ||
227 | === modified file 'resources/i18n/de.ts' | |||
228 | --- resources/i18n/de.ts 2015-10-15 16:55:00 +0000 | |||
229 | +++ resources/i18n/de.ts 2015-11-11 12:38:06 +0000 | |||
230 | @@ -7680,11 +7680,11 @@ | |||
231 | 7680 | </message> | 7680 | </message> |
232 | 7681 | </context> | 7681 | </context> |
233 | 7682 | <context> | 7682 | <context> |
235 | 7683 | <name>PresentationPlugin.PowerpointDocument</name> | 7683 | <name>PresentationPlugin.PowerPointDocument</name> |
236 | 7684 | <message> | 7684 | <message> |
237 | 7685 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7685 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
240 | 7686 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7686 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
241 | 7687 | <translation>Ein Fehler in der Powerpoint Integration ist aufgetreten und die Präsentation wird nun gestoppt. Um die Präsentation zu zeigen, muss diese neu gestartet werden.</translation> | 7687 | <translation>Ein Fehler in der PowerPoint Integration ist aufgetreten und die Präsentation wird nun gestoppt. Um die Präsentation zu zeigen, muss diese neu gestartet werden.</translation> |
242 | 7688 | </message> | 7688 | </message> |
243 | 7689 | </context> | 7689 | </context> |
244 | 7690 | <context> | 7690 | <context> |
245 | 7691 | 7691 | ||
246 | === modified file 'resources/i18n/el.ts' | |||
247 | --- resources/i18n/el.ts 2015-10-15 16:55:00 +0000 | |||
248 | +++ resources/i18n/el.ts 2015-11-11 12:38:06 +0000 | |||
249 | @@ -7607,10 +7607,10 @@ | |||
250 | 7607 | </message> | 7607 | </message> |
251 | 7608 | </context> | 7608 | </context> |
252 | 7609 | <context> | 7609 | <context> |
254 | 7610 | <name>PresentationPlugin.PowerpointDocument</name> | 7610 | <name>PresentationPlugin.PowerPointDocument</name> |
255 | 7611 | <message> | 7611 | <message> |
256 | 7612 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7612 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
258 | 7613 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7613 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
259 | 7614 | <translation type="unfinished"/> | 7614 | <translation type="unfinished"/> |
260 | 7615 | </message> | 7615 | </message> |
261 | 7616 | </context> | 7616 | </context> |
262 | 7617 | 7617 | ||
263 | === modified file 'resources/i18n/en.ts' | |||
264 | --- resources/i18n/en.ts 2015-10-15 17:34:42 +0000 | |||
265 | +++ resources/i18n/en.ts 2015-11-11 12:38:06 +0000 | |||
266 | @@ -7710,11 +7710,11 @@ | |||
267 | 7710 | </message> | 7710 | </message> |
268 | 7711 | </context> | 7711 | </context> |
269 | 7712 | <context> | 7712 | <context> |
271 | 7713 | <name>PresentationPlugin.PowerpointDocument</name> | 7713 | <name>PresentationPlugin.PowerPointDocument</name> |
272 | 7714 | <message> | 7714 | <message> |
273 | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
276 | 7716 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7716 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
277 | 7717 | <translation>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</translation> | 7717 | <translation>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</translation> |
278 | 7718 | </message> | 7718 | </message> |
279 | 7719 | </context> | 7719 | </context> |
280 | 7720 | <context> | 7720 | <context> |
281 | 7721 | 7721 | ||
282 | === modified file 'resources/i18n/en_GB.ts' | |||
283 | --- resources/i18n/en_GB.ts 2015-10-15 16:55:00 +0000 | |||
284 | +++ resources/i18n/en_GB.ts 2015-11-11 12:38:06 +0000 | |||
285 | @@ -7709,11 +7709,11 @@ | |||
286 | 7709 | </message> | 7709 | </message> |
287 | 7710 | </context> | 7710 | </context> |
288 | 7711 | <context> | 7711 | <context> |
290 | 7712 | <name>PresentationPlugin.PowerpointDocument</name> | 7712 | <name>PresentationPlugin.PowerPointDocument</name> |
291 | 7713 | <message> | 7713 | <message> |
292 | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
295 | 7715 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7715 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
296 | 7716 | <translation>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</translation> | 7716 | <translation>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</translation> |
297 | 7717 | </message> | 7717 | </message> |
298 | 7718 | </context> | 7718 | </context> |
299 | 7719 | <context> | 7719 | <context> |
300 | 7720 | 7720 | ||
301 | === modified file 'resources/i18n/en_ZA.ts' | |||
302 | --- resources/i18n/en_ZA.ts 2015-10-15 16:55:00 +0000 | |||
303 | +++ resources/i18n/en_ZA.ts 2015-11-11 12:38:06 +0000 | |||
304 | @@ -7710,11 +7710,11 @@ | |||
305 | 7710 | </message> | 7710 | </message> |
306 | 7711 | </context> | 7711 | </context> |
307 | 7712 | <context> | 7712 | <context> |
309 | 7713 | <name>PresentationPlugin.PowerpointDocument</name> | 7713 | <name>PresentationPlugin.PowerPointDocument</name> |
310 | 7714 | <message> | 7714 | <message> |
311 | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
314 | 7716 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7716 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
315 | 7717 | <translation>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</translation> | 7717 | <translation>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</translation> |
316 | 7718 | </message> | 7718 | </message> |
317 | 7719 | </context> | 7719 | </context> |
318 | 7720 | <context> | 7720 | <context> |
319 | 7721 | 7721 | ||
320 | === modified file 'resources/i18n/es.ts' | |||
321 | --- resources/i18n/es.ts 2015-10-15 16:55:00 +0000 | |||
322 | +++ resources/i18n/es.ts 2015-11-11 12:38:06 +0000 | |||
323 | @@ -7712,10 +7712,10 @@ | |||
324 | 7712 | </message> | 7712 | </message> |
325 | 7713 | </context> | 7713 | </context> |
326 | 7714 | <context> | 7714 | <context> |
328 | 7715 | <name>PresentationPlugin.PowerpointDocument</name> | 7715 | <name>PresentationPlugin.PowerPointDocument</name> |
329 | 7716 | <message> | 7716 | <message> |
330 | 7717 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7717 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
332 | 7718 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7718 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
333 | 7719 | <translation>Se produjo un error con la integración de PowerPoint y se cerrará la presentación. Reinicie la presentación para mostrarla de nuevo.</translation> | 7719 | <translation>Se produjo un error con la integración de PowerPoint y se cerrará la presentación. Reinicie la presentación para mostrarla de nuevo.</translation> |
334 | 7720 | </message> | 7720 | </message> |
335 | 7721 | </context> | 7721 | </context> |
336 | 7722 | 7722 | ||
337 | === modified file 'resources/i18n/et.ts' | |||
338 | --- resources/i18n/et.ts 2015-10-15 16:55:00 +0000 | |||
339 | +++ resources/i18n/et.ts 2015-11-11 12:38:06 +0000 | |||
340 | @@ -7709,11 +7709,11 @@ | |||
341 | 7709 | </message> | 7709 | </message> |
342 | 7710 | </context> | 7710 | </context> |
343 | 7711 | <context> | 7711 | <context> |
345 | 7712 | <name>PresentationPlugin.PowerpointDocument</name> | 7712 | <name>PresentationPlugin.PowerPointDocument</name> |
346 | 7713 | <message> | 7713 | <message> |
347 | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
350 | 7715 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7715 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
351 | 7716 | <translation>Powerpointi integratsioonil esines viga ja esitlus jääb pooleli. Alusta esitlust uuesti, kui sa siiski tahad seda näidata.</translation> | 7716 | <translation>PowerPointi integratsioonil esines viga ja esitlus jääb pooleli. Alusta esitlust uuesti, kui sa siiski tahad seda näidata.</translation> |
352 | 7717 | </message> | 7717 | </message> |
353 | 7718 | </context> | 7718 | </context> |
354 | 7719 | <context> | 7719 | <context> |
355 | 7720 | 7720 | ||
356 | === modified file 'resources/i18n/fi.ts' | |||
357 | --- resources/i18n/fi.ts 2015-10-15 16:55:00 +0000 | |||
358 | +++ resources/i18n/fi.ts 2015-11-11 12:38:06 +0000 | |||
359 | @@ -7849,11 +7849,11 @@ | |||
360 | 7849 | </message> | 7849 | </message> |
361 | 7850 | </context> | 7850 | </context> |
362 | 7851 | <context> | 7851 | <context> |
364 | 7852 | <name>PresentationPlugin.PowerpointDocument</name> | 7852 | <name>PresentationPlugin.PowerPointDocument</name> |
365 | 7853 | <message> | 7853 | <message> |
366 | 7854 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7854 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
369 | 7855 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7855 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
370 | 7856 | <translation>Tapahtui virhe Powerpoint integraatiossa ja esitys keskeytettiin. Käynnistä esitys uudellee, jos tahdot esittää sen.</translation> | 7856 | <translation>Tapahtui virhe PowerPoint integraatiossa ja esitys keskeytettiin. Käynnistä esitys uudellee, jos tahdot esittää sen.</translation> |
371 | 7857 | </message> | 7857 | </message> |
372 | 7858 | </context> | 7858 | </context> |
373 | 7859 | <context> | 7859 | <context> |
374 | 7860 | 7860 | ||
375 | === modified file 'resources/i18n/fr.ts' | |||
376 | --- resources/i18n/fr.ts 2015-10-15 16:55:00 +0000 | |||
377 | +++ resources/i18n/fr.ts 2015-11-11 12:38:06 +0000 | |||
378 | @@ -7628,10 +7628,10 @@ | |||
379 | 7628 | </message> | 7628 | </message> |
380 | 7629 | </context> | 7629 | </context> |
381 | 7630 | <context> | 7630 | <context> |
383 | 7631 | <name>PresentationPlugin.PowerpointDocument</name> | 7631 | <name>PresentationPlugin.PowerPointDocument</name> |
384 | 7632 | <message> | 7632 | <message> |
385 | 7633 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7633 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
387 | 7634 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7634 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
388 | 7635 | <translation type="unfinished"/> | 7635 | <translation type="unfinished"/> |
389 | 7636 | </message> | 7636 | </message> |
390 | 7637 | </context> | 7637 | </context> |
391 | 7638 | 7638 | ||
392 | === modified file 'resources/i18n/hu.ts' | |||
393 | --- resources/i18n/hu.ts 2015-10-15 16:55:00 +0000 | |||
394 | +++ resources/i18n/hu.ts 2015-11-11 12:38:06 +0000 | |||
395 | @@ -7711,11 +7711,11 @@ | |||
396 | 7711 | </message> | 7711 | </message> |
397 | 7712 | </context> | 7712 | </context> |
398 | 7713 | <context> | 7713 | <context> |
400 | 7714 | <name>PresentationPlugin.PowerpointDocument</name> | 7714 | <name>PresentationPlugin.PowerPointDocument</name> |
401 | 7715 | <message> | 7715 | <message> |
402 | 7716 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7716 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
405 | 7717 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7717 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
406 | 7718 | <translation>Hiba történt a Powerpoint integrációban, ezért a prezentáció leáll. Újraindítással lehet újra bemutatni a prezentációt.</translation> | 7718 | <translation>Hiba történt a PowerPoint integrációban, ezért a prezentáció leáll. Újraindítással lehet újra bemutatni a prezentációt.</translation> |
407 | 7719 | </message> | 7719 | </message> |
408 | 7720 | </context> | 7720 | </context> |
409 | 7721 | <context> | 7721 | <context> |
410 | 7722 | 7722 | ||
411 | === modified file 'resources/i18n/id.ts' | |||
412 | --- resources/i18n/id.ts 2015-10-15 16:55:00 +0000 | |||
413 | +++ resources/i18n/id.ts 2015-11-11 12:38:06 +0000 | |||
414 | @@ -7711,10 +7711,10 @@ | |||
415 | 7711 | </message> | 7711 | </message> |
416 | 7712 | </context> | 7712 | </context> |
417 | 7713 | <context> | 7713 | <context> |
419 | 7714 | <name>PresentationPlugin.PowerpointDocument</name> | 7714 | <name>PresentationPlugin.PowerPointDocument</name> |
420 | 7715 | <message> | 7715 | <message> |
421 | 7716 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7716 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
423 | 7717 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7717 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
424 | 7718 | <translation>Terjadi kesalahan dalam integrasi PowerPoint dan presentasi akan dihentikan. Silakan mulai-ulang presentasi jika Anda ingin menampilkannya.</translation> | 7718 | <translation>Terjadi kesalahan dalam integrasi PowerPoint dan presentasi akan dihentikan. Silakan mulai-ulang presentasi jika Anda ingin menampilkannya.</translation> |
425 | 7719 | </message> | 7719 | </message> |
426 | 7720 | </context> | 7720 | </context> |
427 | 7721 | 7721 | ||
428 | === modified file 'resources/i18n/ja.ts' | |||
429 | --- resources/i18n/ja.ts 2015-10-15 16:55:00 +0000 | |||
430 | +++ resources/i18n/ja.ts 2015-11-11 12:38:06 +0000 | |||
431 | @@ -7705,10 +7705,10 @@ | |||
432 | 7705 | </message> | 7705 | </message> |
433 | 7706 | </context> | 7706 | </context> |
434 | 7707 | <context> | 7707 | <context> |
436 | 7708 | <name>PresentationPlugin.PowerpointDocument</name> | 7708 | <name>PresentationPlugin.PowerPointDocument</name> |
437 | 7709 | <message> | 7709 | <message> |
438 | 7710 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7710 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
440 | 7711 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7711 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
441 | 7712 | <translation>PowerPointとの通信にエラーが発生し、プレゼンテーションが終了しました。表示するには、プレゼンテーションをもう一度開始してください。</translation> | 7712 | <translation>PowerPointとの通信にエラーが発生し、プレゼンテーションが終了しました。表示するには、プレゼンテーションをもう一度開始してください。</translation> |
442 | 7713 | </message> | 7713 | </message> |
443 | 7714 | </context> | 7714 | </context> |
444 | 7715 | 7715 | ||
445 | === modified file 'resources/i18n/ko.ts' | |||
446 | --- resources/i18n/ko.ts 2015-10-15 16:55:00 +0000 | |||
447 | +++ resources/i18n/ko.ts 2015-11-11 12:38:06 +0000 | |||
448 | @@ -7578,10 +7578,10 @@ | |||
449 | 7578 | </message> | 7578 | </message> |
450 | 7579 | </context> | 7579 | </context> |
451 | 7580 | <context> | 7580 | <context> |
453 | 7581 | <name>PresentationPlugin.PowerpointDocument</name> | 7581 | <name>PresentationPlugin.PowerPointDocument</name> |
454 | 7582 | <message> | 7582 | <message> |
455 | 7583 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7583 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
457 | 7584 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7584 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
458 | 7585 | <translation type="unfinished"/> | 7585 | <translation type="unfinished"/> |
459 | 7586 | </message> | 7586 | </message> |
460 | 7587 | </context> | 7587 | </context> |
461 | 7588 | 7588 | ||
462 | === modified file 'resources/i18n/lt.ts' | |||
463 | --- resources/i18n/lt.ts 2015-10-15 16:55:00 +0000 | |||
464 | +++ resources/i18n/lt.ts 2015-11-11 12:38:06 +0000 | |||
465 | @@ -7710,11 +7710,11 @@ | |||
466 | 7710 | </message> | 7710 | </message> |
467 | 7711 | </context> | 7711 | </context> |
468 | 7712 | <context> | 7712 | <context> |
470 | 7713 | <name>PresentationPlugin.PowerpointDocument</name> | 7713 | <name>PresentationPlugin.PowerPointDocument</name> |
471 | 7714 | <message> | 7714 | <message> |
472 | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
475 | 7716 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7716 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
476 | 7717 | <translation>Powerpoint integravime įvyko klaida ir pateiktis bus sustabdyta. Paleiskite pateiktį iš naujo, jei norite ją pristatyti.</translation> | 7717 | <translation>PowerPoint integravime įvyko klaida ir pateiktis bus sustabdyta. Paleiskite pateiktį iš naujo, jei norite ją pristatyti.</translation> |
477 | 7718 | </message> | 7718 | </message> |
478 | 7719 | </context> | 7719 | </context> |
479 | 7720 | <context> | 7720 | <context> |
480 | 7721 | 7721 | ||
481 | === modified file 'resources/i18n/nb.ts' | |||
482 | --- resources/i18n/nb.ts 2015-10-15 16:55:00 +0000 | |||
483 | +++ resources/i18n/nb.ts 2015-11-11 12:38:06 +0000 | |||
484 | @@ -7709,11 +7709,11 @@ | |||
485 | 7709 | </message> | 7709 | </message> |
486 | 7710 | </context> | 7710 | </context> |
487 | 7711 | <context> | 7711 | <context> |
489 | 7712 | <name>PresentationPlugin.PowerpointDocument</name> | 7712 | <name>PresentationPlugin.PowerPointDocument</name> |
490 | 7713 | <message> | 7713 | <message> |
491 | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
494 | 7715 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7715 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
495 | 7716 | <translation>Det oppstod en feil i Powerpointintegrasjonen og presentasjonen vil bli stoppet. Start presentasjonen på nytt hvis du ønsker å fortsette.</translation> | 7716 | <translation>Det oppstod en feil i PowerPointintegrasjonen og presentasjonen vil bli stoppet. Start presentasjonen på nytt hvis du ønsker å fortsette.</translation> |
496 | 7717 | </message> | 7717 | </message> |
497 | 7718 | </context> | 7718 | </context> |
498 | 7719 | <context> | 7719 | <context> |
499 | 7720 | 7720 | ||
500 | === modified file 'resources/i18n/nl.ts' | |||
501 | --- resources/i18n/nl.ts 2015-10-15 17:34:42 +0000 | |||
502 | +++ resources/i18n/nl.ts 2015-11-11 12:38:06 +0000 | |||
503 | @@ -2419,7 +2419,7 @@ | |||
504 | 2419 | OpenLP is written and maintained by volunteers. If you would like to see more free Christian software being written, please consider volunteering by using the button below.</source> | 2419 | OpenLP is written and maintained by volunteers. If you would like to see more free Christian software being written, please consider volunteering by using the button below.</source> |
505 | 2420 | <translation>OpenLP <version><revision> - Open Source Lyrics Projection | 2420 | <translation>OpenLP <version><revision> - Open Source Lyrics Projection |
506 | 2421 | 2421 | ||
508 | 2422 | OpenLP is gratis presentatiesoftware voor kerken. Het kan gebruikt worden voor het projecteren van liedteksten, bijbelverzen, video's, afbeeldingen en zelfs bestaande presentaties uit Powerpoint. | 2422 | OpenLP is gratis presentatiesoftware voor kerken. Het kan gebruikt worden voor het projecteren van liedteksten, bijbelverzen, video's, afbeeldingen en zelfs bestaande presentaties uit PowerPoint. |
509 | 2423 | 2423 | ||
510 | 2424 | Lees meer over OpenLP: http://openlp.org/ | 2424 | Lees meer over OpenLP: http://openlp.org/ |
511 | 2425 | 2425 | ||
512 | @@ -7712,11 +7712,11 @@ | |||
513 | 7712 | </message> | 7712 | </message> |
514 | 7713 | </context> | 7713 | </context> |
515 | 7714 | <context> | 7714 | <context> |
517 | 7715 | <name>PresentationPlugin.PowerpointDocument</name> | 7715 | <name>PresentationPlugin.PowerPointDocument</name> |
518 | 7716 | <message> | 7716 | <message> |
519 | 7717 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7717 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
522 | 7718 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7718 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
523 | 7719 | <translation>Er is een fout opgetreden in de Powerpoint-integratie waardoor de presentatie zal worden gestopt. U kunt de presentatie herstarten om verder te gaan met presenteren.</translation> | 7719 | <translation>Er is een fout opgetreden in de PowerPoint-integratie waardoor de presentatie zal worden gestopt. U kunt de presentatie herstarten om verder te gaan met presenteren.</translation> |
524 | 7720 | </message> | 7720 | </message> |
525 | 7721 | </context> | 7721 | </context> |
526 | 7722 | <context> | 7722 | <context> |
527 | 7723 | 7723 | ||
528 | === modified file 'resources/i18n/pl.ts' | |||
529 | --- resources/i18n/pl.ts 2015-10-15 16:55:00 +0000 | |||
530 | +++ resources/i18n/pl.ts 2015-11-11 12:38:06 +0000 | |||
531 | @@ -7709,11 +7709,11 @@ | |||
532 | 7709 | </message> | 7709 | </message> |
533 | 7710 | </context> | 7710 | </context> |
534 | 7711 | <context> | 7711 | <context> |
536 | 7712 | <name>PresentationPlugin.PowerpointDocument</name> | 7712 | <name>PresentationPlugin.PowerPointDocument</name> |
537 | 7713 | <message> | 7713 | <message> |
538 | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7714 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
541 | 7715 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7715 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
542 | 7716 | <translation>Wystąpił błąd we współpracy z Powerpointem i prezentacja zostanie zatrzymana. Uruchom ją ponownie, jeśli chcesz ją zaprezentować.</translation> | 7716 | <translation>Wystąpił błąd we współpracy z PowerPointem i prezentacja zostanie zatrzymana. Uruchom ją ponownie, jeśli chcesz ją zaprezentować.</translation> |
543 | 7717 | </message> | 7717 | </message> |
544 | 7718 | </context> | 7718 | </context> |
545 | 7719 | <context> | 7719 | <context> |
546 | 7720 | 7720 | ||
547 | === modified file 'resources/i18n/pt_BR.ts' | |||
548 | --- resources/i18n/pt_BR.ts 2015-10-15 16:55:00 +0000 | |||
549 | +++ resources/i18n/pt_BR.ts 2015-11-11 12:38:06 +0000 | |||
550 | @@ -7612,10 +7612,10 @@ | |||
551 | 7612 | </message> | 7612 | </message> |
552 | 7613 | </context> | 7613 | </context> |
553 | 7614 | <context> | 7614 | <context> |
555 | 7615 | <name>PresentationPlugin.PowerpointDocument</name> | 7615 | <name>PresentationPlugin.PowerPointDocument</name> |
556 | 7616 | <message> | 7616 | <message> |
557 | 7617 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7617 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
559 | 7618 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7618 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
560 | 7619 | <translation type="unfinished"/> | 7619 | <translation type="unfinished"/> |
561 | 7620 | </message> | 7620 | </message> |
562 | 7621 | </context> | 7621 | </context> |
563 | 7622 | 7622 | ||
564 | === modified file 'resources/i18n/ru.ts' | |||
565 | --- resources/i18n/ru.ts 2015-10-15 16:55:00 +0000 | |||
566 | +++ resources/i18n/ru.ts 2015-11-11 12:38:06 +0000 | |||
567 | @@ -7661,10 +7661,10 @@ | |||
568 | 7661 | </message> | 7661 | </message> |
569 | 7662 | </context> | 7662 | </context> |
570 | 7663 | <context> | 7663 | <context> |
572 | 7664 | <name>PresentationPlugin.PowerpointDocument</name> | 7664 | <name>PresentationPlugin.PowerPointDocument</name> |
573 | 7665 | <message> | 7665 | <message> |
574 | 7666 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7666 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
576 | 7667 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7667 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
577 | 7668 | <translation type="unfinished"/> | 7668 | <translation type="unfinished"/> |
578 | 7669 | </message> | 7669 | </message> |
579 | 7670 | </context> | 7670 | </context> |
580 | 7671 | 7671 | ||
581 | === modified file 'resources/i18n/sk.ts' | |||
582 | --- resources/i18n/sk.ts 2015-10-15 16:55:00 +0000 | |||
583 | +++ resources/i18n/sk.ts 2015-11-11 12:38:06 +0000 | |||
584 | @@ -7691,11 +7691,11 @@ | |||
585 | 7691 | </message> | 7691 | </message> |
586 | 7692 | </context> | 7692 | </context> |
587 | 7693 | <context> | 7693 | <context> |
589 | 7694 | <name>PresentationPlugin.PowerpointDocument</name> | 7694 | <name>PresentationPlugin.PowerPointDocument</name> |
590 | 7695 | <message> | 7695 | <message> |
591 | 7696 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7696 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
594 | 7697 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7697 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
595 | 7698 | <translation>Vznikla chyba pri integrácií Powerpointu a prezentácia bude ukončená. Ak chete zobraziť prezentáciu, spustite ju znovu.</translation> | 7698 | <translation>Vznikla chyba pri integrácií PowerPointu a prezentácia bude ukončená. Ak chete zobraziť prezentáciu, spustite ju znovu.</translation> |
596 | 7699 | </message> | 7699 | </message> |
597 | 7700 | </context> | 7700 | </context> |
598 | 7701 | <context> | 7701 | <context> |
599 | 7702 | 7702 | ||
600 | === modified file 'resources/i18n/sv.ts' | |||
601 | --- resources/i18n/sv.ts 2015-10-15 16:55:00 +0000 | |||
602 | +++ resources/i18n/sv.ts 2015-11-11 12:38:06 +0000 | |||
603 | @@ -7710,11 +7710,11 @@ | |||
604 | 7710 | </message> | 7710 | </message> |
605 | 7711 | </context> | 7711 | </context> |
606 | 7712 | <context> | 7712 | <context> |
608 | 7713 | <name>PresentationPlugin.PowerpointDocument</name> | 7713 | <name>PresentationPlugin.PowerPointDocument</name> |
609 | 7714 | <message> | 7714 | <message> |
610 | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7715 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
613 | 7716 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7716 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
614 | 7717 | <translation>Ett fel inträffade i Powerpoint-integrationen och presentationen kommer att avbrytas. Starta om presentationen om du vill visa den.</translation> | 7717 | <translation>Ett fel inträffade i PowerPoint-integrationen och presentationen kommer att avbrytas. Starta om presentationen om du vill visa den.</translation> |
615 | 7718 | </message> | 7718 | </message> |
616 | 7719 | </context> | 7719 | </context> |
617 | 7720 | <context> | 7720 | <context> |
618 | 7721 | 7721 | ||
619 | === modified file 'resources/i18n/ta_LK.ts' | |||
620 | --- resources/i18n/ta_LK.ts 2015-10-15 16:55:00 +0000 | |||
621 | +++ resources/i18n/ta_LK.ts 2015-11-11 12:38:06 +0000 | |||
622 | @@ -7606,10 +7606,10 @@ | |||
623 | 7606 | </message> | 7606 | </message> |
624 | 7607 | </context> | 7607 | </context> |
625 | 7608 | <context> | 7608 | <context> |
627 | 7609 | <name>PresentationPlugin.PowerpointDocument</name> | 7609 | <name>PresentationPlugin.PowerPointDocument</name> |
628 | 7610 | <message> | 7610 | <message> |
629 | 7611 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7611 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
631 | 7612 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7612 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
632 | 7613 | <translation type="unfinished"/> | 7613 | <translation type="unfinished"/> |
633 | 7614 | </message> | 7614 | </message> |
634 | 7615 | </context> | 7615 | </context> |
635 | 7616 | 7616 | ||
636 | === modified file 'resources/i18n/th_TH.ts' | |||
637 | --- resources/i18n/th_TH.ts 2015-10-15 16:55:00 +0000 | |||
638 | +++ resources/i18n/th_TH.ts 2015-11-11 12:38:06 +0000 | |||
639 | @@ -7606,10 +7606,10 @@ | |||
640 | 7606 | </message> | 7606 | </message> |
641 | 7607 | </context> | 7607 | </context> |
642 | 7608 | <context> | 7608 | <context> |
644 | 7609 | <name>PresentationPlugin.PowerpointDocument</name> | 7609 | <name>PresentationPlugin.PowerPointDocument</name> |
645 | 7610 | <message> | 7610 | <message> |
646 | 7611 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7611 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
648 | 7612 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7612 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
649 | 7613 | <translation type="unfinished"/> | 7613 | <translation type="unfinished"/> |
650 | 7614 | </message> | 7614 | </message> |
651 | 7615 | </context> | 7615 | </context> |
652 | 7616 | 7616 | ||
653 | === modified file 'resources/i18n/zh_CN.ts' | |||
654 | --- resources/i18n/zh_CN.ts 2015-10-15 16:55:00 +0000 | |||
655 | +++ resources/i18n/zh_CN.ts 2015-11-11 12:38:06 +0000 | |||
656 | @@ -7603,10 +7603,10 @@ | |||
657 | 7603 | </message> | 7603 | </message> |
658 | 7604 | </context> | 7604 | </context> |
659 | 7605 | <context> | 7605 | <context> |
661 | 7606 | <name>PresentationPlugin.PowerpointDocument</name> | 7606 | <name>PresentationPlugin.PowerPointDocument</name> |
662 | 7607 | <message> | 7607 | <message> |
663 | 7608 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7608 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
665 | 7609 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7609 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
666 | 7610 | <translation type="unfinished"/> | 7610 | <translation type="unfinished"/> |
667 | 7611 | </message> | 7611 | </message> |
668 | 7612 | </context> | 7612 | </context> |
669 | 7613 | 7613 | ||
670 | === modified file 'resources/i18n/zh_TW.ts' | |||
671 | --- resources/i18n/zh_TW.ts 2015-10-15 16:55:00 +0000 | |||
672 | +++ resources/i18n/zh_TW.ts 2015-11-11 12:38:06 +0000 | |||
673 | @@ -7706,11 +7706,11 @@ | |||
674 | 7706 | </message> | 7706 | </message> |
675 | 7707 | </context> | 7707 | </context> |
676 | 7708 | <context> | 7708 | <context> |
678 | 7709 | <name>PresentationPlugin.PowerpointDocument</name> | 7709 | <name>PresentationPlugin.PowerPointDocument</name> |
679 | 7710 | <message> | 7710 | <message> |
680 | 7711 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> | 7711 | <location filename="openlp/plugins/presentations/lib/powerpointcontroller.py" line="517"/> |
683 | 7712 | <source>An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> | 7712 | <source>An error occurred in the PowerPoint integration and the presentation will be stopped. Restart the presentation if you wish to present it.</source> |
684 | 7713 | <translation>整合Powerpoint時發生了錯誤,簡報即將結束。若您希望顯示,請重新啟動簡報。</translation> | 7713 | <translation>整合PowerPoint時發生了錯誤,簡報即將結束。若您希望顯示,請重新啟動簡報。</translation> |
685 | 7714 | </message> | 7714 | </message> |
686 | 7715 | </context> | 7715 | </context> |
687 | 7716 | <context> | 7716 | <context> |
688 | 7717 | 7717 | ||
689 | === modified file 'tests/functional/openlp_plugins/presentations/test_mediaitem.py' | |||
690 | --- tests/functional/openlp_plugins/presentations/test_mediaitem.py 2015-03-18 22:04:30 +0000 | |||
691 | +++ tests/functional/openlp_plugins/presentations/test_mediaitem.py 2015-11-11 12:38:06 +0000 | |||
692 | @@ -68,8 +68,8 @@ | |||
693 | 68 | # Mock the controllers. | 68 | # Mock the controllers. |
694 | 69 | self.media_item.controllers = { | 69 | self.media_item.controllers = { |
695 | 70 | 'Impress': impress_controller, | 70 | 'Impress': impress_controller, |
698 | 71 | 'Powerpoint': presentation_controller, | 71 | 'PowerPoint': presentation_controller, |
699 | 72 | 'Powerpoint Viewer': presentation_viewer_controller, | 72 | 'PowerPoint Viewer': presentation_viewer_controller, |
700 | 73 | 'Pdf': pdf_controller | 73 | 'Pdf': pdf_controller |
701 | 74 | } | 74 | } |
702 | 75 | 75 | ||
703 | 76 | 76 | ||
704 | === modified file 'tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py' | |||
705 | --- tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py 2015-05-05 13:20:24 +0000 | |||
706 | +++ tests/functional/openlp_plugins/presentations/test_powerpointcontroller.py 2015-11-11 12:38:06 +0000 | |||
707 | @@ -31,7 +31,7 @@ | |||
708 | 31 | from tests.helpers.testmixin import TestMixin | 31 | from tests.helpers.testmixin import TestMixin |
709 | 32 | from tests.utils.constants import TEST_RESOURCES_PATH | 32 | from tests.utils.constants import TEST_RESOURCES_PATH |
710 | 33 | 33 | ||
712 | 34 | from openlp.plugins.presentations.lib.powerpointcontroller import PowerpointController, PowerpointDocument,\ | 34 | from openlp.plugins.presentations.lib.powerpointcontroller import PowerPointController, PowerPointDocument,\ |
713 | 35 | _get_text_from_shapes | 35 | _get_text_from_shapes |
714 | 36 | from openlp.core.common import is_win, Settings | 36 | from openlp.core.common import is_win, Settings |
715 | 37 | 37 | ||
716 | @@ -43,9 +43,9 @@ | |||
717 | 43 | } | 43 | } |
718 | 44 | 44 | ||
719 | 45 | 45 | ||
721 | 46 | class TestPowerpointController(TestCase, TestMixin): | 46 | class TestPowerPointController(TestCase, TestMixin): |
722 | 47 | """ | 47 | """ |
724 | 48 | Test the PowerpointController Class | 48 | Test the PowerPointController Class |
725 | 49 | """ | 49 | """ |
726 | 50 | 50 | ||
727 | 51 | def setUp(self): | 51 | def setUp(self): |
728 | @@ -67,22 +67,22 @@ | |||
729 | 67 | 67 | ||
730 | 68 | def constructor_test(self): | 68 | def constructor_test(self): |
731 | 69 | """ | 69 | """ |
733 | 70 | Test the Constructor from the PowerpointController | 70 | Test the Constructor from the PowerPointController |
734 | 71 | """ | 71 | """ |
735 | 72 | # GIVEN: No presentation controller | 72 | # GIVEN: No presentation controller |
736 | 73 | controller = None | 73 | controller = None |
737 | 74 | 74 | ||
738 | 75 | # WHEN: The presentation controller object is created | 75 | # WHEN: The presentation controller object is created |
740 | 76 | controller = PowerpointController(plugin=self.mock_plugin) | 76 | controller = PowerPointController(plugin=self.mock_plugin) |
741 | 77 | 77 | ||
742 | 78 | # THEN: The name of the presentation controller should be correct | 78 | # THEN: The name of the presentation controller should be correct |
744 | 79 | self.assertEqual('Powerpoint', controller.name, | 79 | self.assertEqual('PowerPoint', controller.name, |
745 | 80 | 'The name of the presentation controller should be correct') | 80 | 'The name of the presentation controller should be correct') |
746 | 81 | 81 | ||
747 | 82 | 82 | ||
749 | 83 | class TestPowerpointDocument(TestCase, TestMixin): | 83 | class TestPowerPointDocument(TestCase, TestMixin): |
750 | 84 | """ | 84 | """ |
752 | 85 | Test the PowerpointDocument Class | 85 | Test the PowerPointDocument Class |
753 | 86 | """ | 86 | """ |
754 | 87 | 87 | ||
755 | 88 | def setUp(self): | 88 | def setUp(self): |
756 | @@ -95,7 +95,7 @@ | |||
757 | 95 | self.temp_folder = mkdtemp() | 95 | self.temp_folder = mkdtemp() |
758 | 96 | self.mock_plugin.settings_section = self.temp_folder | 96 | self.mock_plugin.settings_section = self.temp_folder |
759 | 97 | self.powerpoint_document_stop_presentation_patcher = patch( | 97 | self.powerpoint_document_stop_presentation_patcher = patch( |
761 | 98 | 'openlp.plugins.presentations.lib.powerpointcontroller.PowerpointDocument.stop_presentation') | 98 | 'openlp.plugins.presentations.lib.powerpointcontroller.PowerPointDocument.stop_presentation') |
762 | 99 | self.presentation_document_get_temp_folder_patcher = patch( | 99 | self.presentation_document_get_temp_folder_patcher = patch( |
763 | 100 | 'openlp.plugins.presentations.lib.powerpointcontroller.PresentationDocument.get_temp_folder') | 100 | 'openlp.plugins.presentations.lib.powerpointcontroller.PresentationDocument.get_temp_folder') |
764 | 101 | self.presentation_document_setup_patcher = patch( | 101 | self.presentation_document_setup_patcher = patch( |
765 | @@ -107,7 +107,7 @@ | |||
766 | 107 | self.mock_presentation = MagicMock() | 107 | self.mock_presentation = MagicMock() |
767 | 108 | self.mock_presentation_document_get_temp_folder.return_value = 'temp folder' | 108 | self.mock_presentation_document_get_temp_folder.return_value = 'temp folder' |
768 | 109 | self.file_name = os.path.join(TEST_RESOURCES_PATH, 'presentations', 'test.pptx') | 109 | self.file_name = os.path.join(TEST_RESOURCES_PATH, 'presentations', 'test.pptx') |
770 | 110 | self.real_controller = PowerpointController(self.mock_plugin) | 110 | self.real_controller = PowerPointController(self.mock_plugin) |
771 | 111 | Settings().extend_default_settings(__default_settings__) | 111 | Settings().extend_default_settings(__default_settings__) |
772 | 112 | 112 | ||
773 | 113 | def tearDown(self): | 113 | def tearDown(self): |
774 | @@ -122,13 +122,13 @@ | |||
775 | 122 | 122 | ||
776 | 123 | def show_error_msg_test(self): | 123 | def show_error_msg_test(self): |
777 | 124 | """ | 124 | """ |
779 | 125 | Test the PowerpointDocument.show_error_msg() method gets called on com exception | 125 | Test the PowerPointDocument.show_error_msg() method gets called on com exception |
780 | 126 | """ | 126 | """ |
781 | 127 | if is_win(): | 127 | if is_win(): |
783 | 128 | # GIVEN: A PowerpointDocument with mocked controller and presentation | 128 | # GIVEN: A PowerPointDocument with mocked controller and presentation |
784 | 129 | with patch('openlp.plugins.presentations.lib.powerpointcontroller.critical_error_message_box') as \ | 129 | with patch('openlp.plugins.presentations.lib.powerpointcontroller.critical_error_message_box') as \ |
785 | 130 | mocked_critical_error_message_box: | 130 | mocked_critical_error_message_box: |
787 | 131 | instance = PowerpointDocument(self.mock_controller, self.mock_presentation) | 131 | instance = PowerPointDocument(self.mock_controller, self.mock_presentation) |
788 | 132 | instance.presentation = MagicMock() | 132 | instance.presentation = MagicMock() |
789 | 133 | instance.presentation.SlideShowWindow.View.GotoSlide = MagicMock(side_effect=pywintypes.com_error('1')) | 133 | instance.presentation.SlideShowWindow.View.GotoSlide = MagicMock(side_effect=pywintypes.com_error('1')) |
790 | 134 | instance.index_map[42] = 42 | 134 | instance.index_map[42] = 42 |
791 | @@ -137,7 +137,7 @@ | |||
792 | 137 | instance.goto_slide(42) | 137 | instance.goto_slide(42) |
793 | 138 | 138 | ||
794 | 139 | # THEN: mocked_critical_error_message_box should have been called | 139 | # THEN: mocked_critical_error_message_box should have been called |
796 | 140 | mocked_critical_error_message_box.assert_called_with('Error', 'An error occurred in the Powerpoint ' | 140 | mocked_critical_error_message_box.assert_called_with('Error', 'An error occurred in the PowerPoint ' |
797 | 141 | 'integration and the presentation will be stopped.' | 141 | 'integration and the presentation will be stopped.' |
798 | 142 | ' Restart the presentation if you wish to ' | 142 | ' Restart the presentation if you wish to ' |
799 | 143 | 'present it.') | 143 | 'present it.') |
800 | @@ -148,8 +148,8 @@ | |||
801 | 148 | Test loading a document in PowerPoint | 148 | Test loading a document in PowerPoint |
802 | 149 | """ | 149 | """ |
803 | 150 | if is_win() and self.real_controller.check_available(): | 150 | if is_win() and self.real_controller.check_available(): |
806 | 151 | # GIVEN: A PowerpointDocument and a presentation | 151 | # GIVEN: A PowerPointDocument and a presentation |
807 | 152 | doc = PowerpointDocument(self.real_controller, self.file_name) | 152 | doc = PowerPointDocument(self.real_controller, self.file_name) |
808 | 153 | 153 | ||
809 | 154 | # WHEN: loading the filename | 154 | # WHEN: loading the filename |
810 | 155 | doc.load_presentation() | 155 | doc.load_presentation() |
811 | @@ -158,19 +158,19 @@ | |||
812 | 158 | # THEN: result should be true | 158 | # THEN: result should be true |
813 | 159 | self.assertEqual(result, True, 'The result should be True') | 159 | self.assertEqual(result, True, 'The result should be True') |
814 | 160 | else: | 160 | else: |
816 | 161 | self.skipTest('Powerpoint not available, skipping test.') | 161 | self.skipTest('PowerPoint not available, skipping test.') |
817 | 162 | 162 | ||
818 | 163 | def create_titles_and_notes_test(self): | 163 | def create_titles_and_notes_test(self): |
819 | 164 | """ | 164 | """ |
820 | 165 | Test creating the titles from PowerPoint | 165 | Test creating the titles from PowerPoint |
821 | 166 | """ | 166 | """ |
822 | 167 | # GIVEN: mocked save_titles_and_notes, _get_text_from_shapes and two mocked slides | 167 | # GIVEN: mocked save_titles_and_notes, _get_text_from_shapes and two mocked slides |
824 | 168 | self.doc = PowerpointDocument(self.mock_controller, self.file_name) | 168 | self.doc = PowerPointDocument(self.mock_controller, self.file_name) |
825 | 169 | self.doc.get_slide_count = MagicMock() | 169 | self.doc.get_slide_count = MagicMock() |
826 | 170 | self.doc.get_slide_count.return_value = 2 | 170 | self.doc.get_slide_count.return_value = 2 |
827 | 171 | self.doc.index_map = {1: 1, 2: 2} | 171 | self.doc.index_map = {1: 1, 2: 2} |
828 | 172 | self.doc.save_titles_and_notes = MagicMock() | 172 | self.doc.save_titles_and_notes = MagicMock() |
830 | 173 | self.doc._PowerpointDocument__get_text_from_shapes = MagicMock() | 173 | self.doc._PowerPointDocument__get_text_from_shapes = MagicMock() |
831 | 174 | slide = MagicMock() | 174 | slide = MagicMock() |
832 | 175 | slide.Shapes.Title.TextFrame.TextRange.Text = 'SlideText' | 175 | slide.Shapes.Title.TextFrame.TextRange.Text = 'SlideText' |
833 | 176 | pres = MagicMock() | 176 | pres = MagicMock() |
834 | @@ -188,9 +188,9 @@ | |||
835 | 188 | Test creating the titles from PowerPoint when it returns no slides | 188 | Test creating the titles from PowerPoint when it returns no slides |
836 | 189 | """ | 189 | """ |
837 | 190 | # GIVEN: mocked save_titles_and_notes, _get_text_from_shapes and two mocked slides | 190 | # GIVEN: mocked save_titles_and_notes, _get_text_from_shapes and two mocked slides |
839 | 191 | doc = PowerpointDocument(self.mock_controller, self.file_name) | 191 | doc = PowerPointDocument(self.mock_controller, self.file_name) |
840 | 192 | doc.save_titles_and_notes = MagicMock() | 192 | doc.save_titles_and_notes = MagicMock() |
842 | 193 | doc._PowerpointDocument__get_text_from_shapes = MagicMock() | 193 | doc._PowerPointDocument__get_text_from_shapes = MagicMock() |
843 | 194 | pres = MagicMock() | 194 | pres = MagicMock() |
844 | 195 | pres.Slides = [] | 195 | pres.Slides = [] |
845 | 196 | doc.presentation = pres | 196 | doc.presentation = pres |
846 | @@ -236,7 +236,7 @@ | |||
847 | 236 | Test that goto_slide goes to next effect if the slide is already displayed | 236 | Test that goto_slide goes to next effect if the slide is already displayed |
848 | 237 | """ | 237 | """ |
849 | 238 | # GIVEN: A Document with mocked controller, presentation, and mocked functions get_slide_number and next_step | 238 | # GIVEN: A Document with mocked controller, presentation, and mocked functions get_slide_number and next_step |
851 | 239 | doc = PowerpointDocument(self.mock_controller, self.mock_presentation) | 239 | doc = PowerPointDocument(self.mock_controller, self.mock_presentation) |
852 | 240 | doc.presentation = MagicMock() | 240 | doc.presentation = MagicMock() |
853 | 241 | doc.presentation.SlideShowWindow.View.GetClickIndex.return_value = 1 | 241 | doc.presentation.SlideShowWindow.View.GetClickIndex.return_value = 1 |
854 | 242 | doc.presentation.SlideShowWindow.View.GetClickCount.return_value = 2 | 242 | doc.presentation.SlideShowWindow.View.GetClickCount.return_value = 2 |
855 | @@ -256,7 +256,7 @@ | |||
856 | 256 | Test that blank_screen works as expected | 256 | Test that blank_screen works as expected |
857 | 257 | """ | 257 | """ |
858 | 258 | # GIVEN: A Document with mocked controller, presentation, and mocked function get_slide_number | 258 | # GIVEN: A Document with mocked controller, presentation, and mocked function get_slide_number |
860 | 259 | doc = PowerpointDocument(self.mock_controller, self.mock_presentation) | 259 | doc = PowerPointDocument(self.mock_controller, self.mock_presentation) |
861 | 260 | doc.presentation = MagicMock() | 260 | doc.presentation = MagicMock() |
862 | 261 | doc.presentation.SlideShowWindow.View.GetClickIndex.return_value = 3 | 261 | doc.presentation.SlideShowWindow.View.GetClickIndex.return_value = 3 |
863 | 262 | doc.presentation.Application.Version = 14.0 | 262 | doc.presentation.Application.Version = 14.0 |
864 | @@ -280,7 +280,7 @@ | |||
865 | 280 | mocked_screen_list_ret = MagicMock() | 280 | mocked_screen_list_ret = MagicMock() |
866 | 281 | mocked_screen_list_ret.screen_list = [1] | 281 | mocked_screen_list_ret.screen_list = [1] |
867 | 282 | mocked_screen_list.return_value = mocked_screen_list_ret | 282 | mocked_screen_list.return_value = mocked_screen_list_ret |
869 | 283 | doc = PowerpointDocument(self.mock_controller, self.mock_presentation) | 283 | doc = PowerPointDocument(self.mock_controller, self.mock_presentation) |
870 | 284 | doc.presentation = MagicMock() | 284 | doc.presentation = MagicMock() |
871 | 285 | doc.presentation.SlideShowWindow.View.GetClickIndex.return_value = 3 | 285 | doc.presentation.SlideShowWindow.View.GetClickIndex.return_value = 3 |
872 | 286 | doc.presentation.Application.Version = 14.0 | 286 | doc.presentation.Application.Version = 14.0 |
873 | 287 | 287 | ||
874 | === modified file 'tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py' | |||
875 | --- tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py 2015-01-18 13:39:21 +0000 | |||
876 | +++ tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py 2015-11-11 12:38:06 +0000 | |||
877 | @@ -76,7 +76,7 @@ | |||
878 | 76 | controller = PptviewController(plugin=self.mock_plugin) | 76 | controller = PptviewController(plugin=self.mock_plugin) |
879 | 77 | 77 | ||
880 | 78 | # THEN: The name of the presentation controller should be correct | 78 | # THEN: The name of the presentation controller should be correct |
882 | 79 | self.assertEqual('Powerpoint Viewer', controller.name, | 79 | self.assertEqual('PowerPoint Viewer', controller.name, |
883 | 80 | 'The name of the presentation controller should be correct') | 80 | 'The name of the presentation controller should be correct') |
884 | 81 | 81 | ||
885 | 82 | def check_available_test(self): | 82 | def check_available_test(self): |
886 | @@ -204,7 +204,7 @@ | |||
887 | 204 | 204 | ||
888 | 205 | def create_titles_and_notes_test(self): | 205 | def create_titles_and_notes_test(self): |
889 | 206 | """ | 206 | """ |
891 | 207 | Test PowerpointController.create_titles_and_notes | 207 | Test PowerPointController.create_titles_and_notes |
892 | 208 | """ | 208 | """ |
893 | 209 | # GIVEN: mocked PresentationController.save_titles_and_notes and a pptx file | 209 | # GIVEN: mocked PresentationController.save_titles_and_notes and a pptx file |
894 | 210 | doc = PptviewDocument(self.mock_controller, self.mock_presentation) | 210 | doc = PptviewDocument(self.mock_controller, self.mock_presentation) |
895 | @@ -221,7 +221,7 @@ | |||
896 | 221 | 221 | ||
897 | 222 | def create_titles_and_notes_nonexistent_file_test(self): | 222 | def create_titles_and_notes_nonexistent_file_test(self): |
898 | 223 | """ | 223 | """ |
900 | 224 | Test PowerpointController.create_titles_and_notes with nonexistent file | 224 | Test PowerPointController.create_titles_and_notes with nonexistent file |
901 | 225 | """ | 225 | """ |
902 | 226 | # GIVEN: mocked PresentationController.save_titles_and_notes and an nonexistent file | 226 | # GIVEN: mocked PresentationController.save_titles_and_notes and an nonexistent file |
903 | 227 | with patch('builtins.open') as mocked_open, \ | 227 | with patch('builtins.open') as mocked_open, \ |
904 | @@ -244,7 +244,7 @@ | |||
905 | 244 | 244 | ||
906 | 245 | def create_titles_and_notes_invalid_file_test(self): | 245 | def create_titles_and_notes_invalid_file_test(self): |
907 | 246 | """ | 246 | """ |
909 | 247 | Test PowerpointController.create_titles_and_notes with invalid file | 247 | Test PowerPointController.create_titles_and_notes with invalid file |
910 | 248 | """ | 248 | """ |
911 | 249 | # GIVEN: mocked PresentationController.save_titles_and_notes and an invalid file | 249 | # GIVEN: mocked PresentationController.save_titles_and_notes and an invalid file |
912 | 250 | with patch('builtins.open') as mocked_open, \ | 250 | with patch('builtins.open') as mocked_open, \ |
This request is incorrect on many fronts.
Though as you say we have spelt Powerpoint wrong most of the cases are internal.
We spent a year refactoring the code to change and fix the names style and have a standard which we adhere to.
The only external change would be 76 the error message all the rest are internal.
Please note that you cannot change translations they need to be done via Transifex and now you are asked 30 people to change the string.
On a side note this patch has a number of other failings.
- You cannot rename settings without adding a settings migration,
- You have no new tests.
- You have not run and proved you have run the Jenkins test suite.