Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for backing up cards to CSV file on external storage #38

Merged
merged 9 commits into from
May 17, 2016

Conversation

brarcher
Copy link
Owner

@brarcher brarcher commented May 13, 2016

This pull request adds support for importing/exporting the card information from/to CSV.
#36
#20

Additionally, an About page is added.
#19

@brarcher brarcher changed the title Import export Add support for backing up cards to CSV file on external storage May 13, 2016
@brarcher brarcher force-pushed the import-export branch 3 times, most recently from 9d4e5aa to 7d36ba7 Compare May 15, 2016 02:47
@brarcher
Copy link
Owner Author

@airon90 and @PanderMusubi, this pull request adds several more strings which need to be translated. Would you mind providing the appropriate translations for Italian and Dutch when there is time? The strings are as follows:

    <string name="importExport">Import/Export</string>
    <string name="importName">Import</string>
    <string name="exportName">Export</string>
    <string name="importExportHelp">Data is imported to/exported from LoyaltyCardLocker.csv on external storage</string>
    <string name="importedFrom">Imported from: %1$s</string>
    <string name="exportedTo">Exported to: %1$s</string>
    <string name="fileMissing">File missing: %1$s</string>
    <string name="importFailed">Failed to import: %1$s</string>
    <string name="exportFailed">Failed to export: %1$s</string>
    <string name="importing">Importing&#8230;</string>
    <string name="exporting">Exporting&#8230;</string>
    <string name="noExternalStoragePermissionError">Unable to import or export cards without the external storage permission</string>
    <string name="about">About</string>
    <string name="app_copyright_fmt">Copyright 2016-<xliff:g>%s</xliff:g> Branden Archer</string>
    <string name="app_license">Licensed under the GPLv3.</string>
    <string name="about_title_fmt">About <xliff:g id="app_name">%s</xliff:g></string>
    <string name="debug_version_fmt">Version: <xliff:g id="version">%s</xliff:g></string>
    <string name="app_revision_fmt">Revision Information: <xliff:g id="app_revision_url">%s</xliff:g></string>
    <string name="app_libraries"><xliff:g id="app_name">%s</xliff:g> uses the following third-party libraries: <xliff:g id="app_libraries_list">%s</xliff:g></string>
    <string name="ok">OK</string>

Thanks!

@PanderMusubi
Copy link

<string name="importExport">Importeer/Exporteer</string>
<string name="importName">Importeer</string>
<string name="exportName">Exporteer</string>
<string name="importExportHelp">Data is geïmporteerd van of geëxporteerd naar LoyaltyCardLocker.csv op externe opslag</string>
<string name="importedFrom">Geïmporteerd van: %1$s</string>
<string name="exportedTo">Geëxporteerd naar: %1$s</string>
<string name="fileMissing">Bestand niet gevonden: %1$s</string>
<string name="importFailed">Importeren mislukte: %1$s</string>
<string name="exportFailed">Exporteren mislukte: %1$s</string>
<string [name="importing">Importerende&#8230;</string>
<string name="exporting">Exporterende&#8230;</string>
<string name="noExternalStoragePermissionError">Niet mogelijk te importeren of exporteren zonder rechten op externe opslag</string>
<string name="about">Over</string>
<string name="app_copyright_fmt">Auteursrecht 2016-<xliff:g>%s</xliff:g> Branden Archer</string>
<string name="app_license">Gelicenseerd met GPLv3.</string>
<string name="about_title_fmt">Over <xliff:g id="app_name">%s</xliff:g></string>
<string name="debug_version_fmt">Versie: <xliff:g id="version">%s</xliff:g></string>
<string name="app_revision_fmt">Revisieïnformatie: <xliff:g id="app_revision_url">%s</xliff:g></string>
<string name="app_libraries"><xliff:g id="app_name">%s</xliff:g> gebruikt de volgende bibliotheken van derden: <xliff:g id="app_libraries_list">%s</xliff:g></string>
<string name="ok">Oké</string>

@brarcher
Copy link
Owner Author

Thanks for the translations, @PanderMusubi and @airon90 (from #39)!

Branden Archer added 9 commits May 16, 2016 20:51
This will be necessary when importing card entries later
Italian translations provided by Airon90.
Dutch translations provided by PanderMusubi
Starting on Android 6.0 permissions may be requested at
runtime. To allow import/exporting on 6.0+, request permission
to external storage.
This about page layout is borrowed from K-9 Mail:
https://github.com/k9mail

Italian translations provided by Airon90.
Dutch translations provided by PanderMusubi.
@brarcher brarcher merged commit f4f2205 into master May 17, 2016
@brarcher brarcher deleted the import-export branch May 17, 2016 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants