diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b3520c..5661f91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: uses: flatpak/flatpak-github-actions/flatpak-builder@v6 with: bundle: spreadsheet.flatpak - manifest-path: com.github.elework.spreadsheet.yml + manifest-path: io.github.elework.spreadsheet.yml run-tests: true repository-name: appcenter repository-url: https://flatpak.elementary.io/repo.flatpakrepo diff --git a/.github/workflows/gettext.yml b/.github/workflows/gettext.yml index 5d47bcb..956c5ce 100644 --- a/.github/workflows/gettext.yml +++ b/.github/workflows/gettext.yml @@ -30,4 +30,4 @@ jobs: - uses: elementary/actions/gettext-flatpak@main with: - manifest-path: 'com.github.elework.spreadsheet.yml' + manifest-path: 'io.github.elework.spreadsheet.yml' diff --git a/README.md b/README.md index efe4615..01417f8 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ Then clone the project and go to its root directory. Run `meson build` to config cd build ninja -To install, use `ninja install`, then execute with `com.github.elework.spreadsheet` +To install, use `ninja install`, then execute with `io.github.elework.spreadsheet` sudo ninja install - com.github.elework.spreadsheet + io.github.elework.spreadsheet ## Contributing diff --git a/data/spreadsheet.appdata.xml.in b/data/spreadsheet.appdata.xml.in index 31467b9..6f4340d 100644 --- a/data/spreadsheet.appdata.xml.in +++ b/data/spreadsheet.appdata.xml.in @@ -1,8 +1,8 @@ - com.github.elework.spreadsheet - com.github.elework.spreadsheet.desktop + io.github.elework.spreadsheet + io.github.elework.spreadsheet.desktop CC0-1.0 MIT Spreadsheet diff --git a/data/spreadsheet.desktop.in b/data/spreadsheet.desktop.in index dcbdbbd..04be6e9 100644 --- a/data/spreadsheet.desktop.in +++ b/data/spreadsheet.desktop.in @@ -3,8 +3,8 @@ Name=Spreadsheet GenericName=Spreadsheet App Comment=Create simple and beautiful spreadsheets Categories=Office;Spreadsheet; -Exec=com.github.elework.spreadsheet %U -Icon=com.github.elework.spreadsheet +Exec=io.github.elework.spreadsheet %U +Icon=io.github.elework.spreadsheet Terminal=false Type=Application Keywords=Office;Book; diff --git a/data/spreadsheet.gresource.xml b/data/spreadsheet.gresource.xml index ae2cebb..3e56dc5 100644 --- a/data/spreadsheet.gresource.xml +++ b/data/spreadsheet.gresource.xml @@ -1,6 +1,6 @@ - + Application.css diff --git a/data/spreadsheet.gschema.xml b/data/spreadsheet.gschema.xml index fc8e70e..1304dfa 100644 --- a/data/spreadsheet.gschema.xml +++ b/data/spreadsheet.gschema.xml @@ -1,6 +1,6 @@ - + (-1, -1) Window position diff --git a/com.github.elework.spreadsheet.yml b/io.github.elework.spreadsheet.yml similarity index 80% rename from com.github.elework.spreadsheet.yml rename to io.github.elework.spreadsheet.yml index ce6ecbd..fbe0315 100644 --- a/com.github.elework.spreadsheet.yml +++ b/io.github.elework.spreadsheet.yml @@ -1,8 +1,8 @@ -id: com.github.elework.spreadsheet +id: io.github.elework.spreadsheet runtime: io.elementary.Platform runtime-version: '8' sdk: io.elementary.Sdk -command: com.github.elework.spreadsheet +command: io.github.elework.spreadsheet finish-args: - '--share=ipc' - '--socket=wayland' diff --git a/meson.build b/meson.build index 11c956c..0885f2c 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project( - 'com.github.elework.spreadsheet', + 'io.github.elework.spreadsheet', 'vala', 'c', version: '0.1.0', meson_version: '>=0.59.0' diff --git a/po/README.md b/po/README.md index fa778ae..e056f95 100644 --- a/po/README.md +++ b/po/README.md @@ -16,7 +16,7 @@ Search for your language code (e.g. en = English, zh_CN = Chinese Simplified). S ## Translate .po Files -Now what you've been waiting for! Copy `po/com.github.elework.spreadsheet.pot` and name `po/.po` and copy `po/extra/extra.pot` and name `po/extra/.po`. Then translate these created .po files using a .po file editor of your choice (e.g. Poedit). The former file contains strings for the app itself and the latter is for metadata files (.appdata.xml and .desktop files). +Now what you've been waiting for! Copy `po/io.github.elework.spreadsheet.pot` and name `po/.po` and copy `po/extra/extra.pot` and name `po/extra/.po`. Then translate these created .po files using a .po file editor of your choice (e.g. Poedit). The former file contains strings for the app itself and the latter is for metadata files (.appdata.xml and .desktop files). ## Commit Your Translation Works diff --git a/po/com.github.elework.spreadsheet.pot b/po/io.github.elework.spreadsheet.pot similarity index 100% rename from po/com.github.elework.spreadsheet.pot rename to po/io.github.elework.spreadsheet.pot diff --git a/src/App.vala b/src/App.vala index b121a06..5f1643a 100644 --- a/src/App.vala +++ b/src/App.vala @@ -14,11 +14,11 @@ public class Spreadsheet.App : Gtk.Application { } static construct { - settings = new Settings ("com.github.elework.spreadsheet"); + settings = new Settings ("io.github.elework.spreadsheet"); } construct { - application_id = "com.github.elework.spreadsheet"; + application_id = "io.github.elework.spreadsheet"; flags = ApplicationFlags.HANDLES_OPEN; Intl.setlocale (LocaleCategory.ALL, ""); diff --git a/src/UI/MainWindow.vala b/src/UI/MainWindow.vala index 3a1346f..384ddec 100644 --- a/src/UI/MainWindow.vala +++ b/src/UI/MainWindow.vala @@ -118,7 +118,7 @@ public class Spreadsheet.UI.MainWindow : ApplicationWindow { construct { var cssprovider = new Gtk.CssProvider (); - cssprovider.load_from_resource ("/com/github/elework/spreadsheet/Application.css"); + cssprovider.load_from_resource ("/io/github/elework/spreadsheet/Application.css"); Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), cssprovider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);