Live presenter annotations + keep styling out of saved .md #5
2 changed files with 28 additions and 21 deletions
|
|
@ -4199,7 +4199,7 @@ const _dutchSourceStringAdditions = {
|
||||||
'The app collects no personal data, no statistics, and no usage data. Your privacy is our priority.',
|
'The app collects no personal data, no statistics, and no usage data. Your privacy is our priority.',
|
||||||
'Alle gegevens die u in OciDeck invoert, blijven op uw lokale systeem en worden niet naar externe servers gestuurd.':
|
'Alle gegevens die u in OciDeck invoert, blijven op uw lokale systeem en worden niet naar externe servers gestuurd.':
|
||||||
'All data you enter in OciDeck remains on your local system and is not sent to external servers.',
|
'All data you enter in OciDeck remains on your local system and is not sent to external servers.',
|
||||||
'Licentie (MIT)': 'License (MIT)',
|
'Licentie (EUPL 1.2)': 'License (EUPL 1.2)',
|
||||||
'Door op "Akkoord gaan" te klikken, accepteert u deze voorwaarden en gaat u akkoord met het gebruik van OciDeck.':
|
'Door op "Akkoord gaan" te klikken, accepteert u deze voorwaarden en gaat u akkoord met het gebruik van OciDeck.':
|
||||||
'By clicking "Agree", you accept these terms and agree to the use of OciDeck.',
|
'By clicking "Agree", you accept these terms and agree to the use of OciDeck.',
|
||||||
'Volledige licentie online': 'Full license online',
|
'Volledige licentie online': 'Full license online',
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ class _ConsentDialogState extends ConsumerState<ConsentDialog> {
|
||||||
// License Section
|
// License Section
|
||||||
ExpansionTile(
|
ExpansionTile(
|
||||||
title: Text(
|
title: Text(
|
||||||
l10n.d('Licentie (MIT)'),
|
l10n.d('Licentie (EUPL 1.2)'),
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
|
|
@ -151,32 +151,39 @@ class _ConsentDialogState extends ConsumerState<ConsentDialog> {
|
||||||
}
|
}
|
||||||
|
|
||||||
String _getLicenseText() {
|
String _getLicenseText() {
|
||||||
return '''MIT License
|
return '''SPDX-License-Identifier: EUPL-1.2
|
||||||
|
Copyright © Brenno de Winter
|
||||||
|
|
||||||
Copyright (c) 2024 De Winter Information Solutions
|
OciDeck is licensed under the European Union Public Licence (EUPL) v. 1.2.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
The Work is provided under the terms of this Licence when the Licensor has
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
placed the following notice immediately following the copyright notice for
|
||||||
in the Software without restriction, including without limitation the rights
|
the Work:
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
Licensed under the EUPL
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
TERMS:
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
- The Licence: the European Union Public Licence v1.2
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
- The Original Work: OciDeck, distributed under this Licence
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
- Derivative Works: works created based upon OciDeck
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
- The Work: the Original Work or its Derivative Works
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.''';
|
PERMISSIONS:
|
||||||
|
You are allowed to use, reproduce, modify, and distribute the Work, as long
|
||||||
|
as you comply with the terms of the EUPL v1.2.
|
||||||
|
|
||||||
|
CONDITIONS:
|
||||||
|
- You must include a copy of the Licence with any distribution
|
||||||
|
- You must state significant changes made to the Work
|
||||||
|
- You must maintain all copyright, patent and trademark notices
|
||||||
|
- You must provide clear notice of any modifications
|
||||||
|
|
||||||
|
The full EUPL v1.2 text is available at:
|
||||||
|
https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12''';
|
||||||
}
|
}
|
||||||
|
|
||||||
void _launchLicense(BuildContext context) async {
|
void _launchLicense(BuildContext context) async {
|
||||||
const url =
|
const url = 'https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12';
|
||||||
'https://github.com/yourusername/ocideck/blob/main/LICENSE.md';
|
|
||||||
if (await canLaunchUrl(Uri.parse(url))) {
|
if (await canLaunchUrl(Uri.parse(url))) {
|
||||||
await launchUrl(Uri.parse(url), mode: LaunchMode.externalApplication);
|
await launchUrl(Uri.parse(url), mode: LaunchMode.externalApplication);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue