diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml
new file mode 100644
index 0000000..c3d4d35
--- /dev/null
+++ b/.github/workflows/flatpak.yml
@@ -0,0 +1,20 @@
+on:
+ push:
+ paths-ignore:
+ - '**/README.md'
+ branches: [master]
+ pull_request:
+name: Flatpak
+jobs:
+ flatpak:
+ runs-on: ubuntu-latest
+ container:
+ image: bilelmoussaoui/flatpak-github-actions:gnome-44
+ options: --privileged
+ steps:
+ - uses: actions/checkout@v3
+ - uses: flatpak/flatpak-github-actions/flatpak-builder@v4
+ with:
+ bundle: io.github.nokse22.minitext.flatpak
+ manifest-path: io.github.nokse22.minitext.json
+ cache-key: flatpak-builder-${{ github.sha }}
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..04edf50
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,17 @@
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+ types: [ "review_requested", "ready_for_review" ]
+name: Spell Check
+jobs:
+ codespell:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: codespell-project/actions-codespell@master
+ with:
+ check_filenames: true
+ skip: cargo-sources.json,.git,*.svg,*.html,*.js,*.po,*.pot,*.page
+ ignore_words_list: gir
diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml
new file mode 100644
index 0000000..b2ff15d
--- /dev/null
+++ b/.github/workflows/snap.yml
@@ -0,0 +1,32 @@
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ workflow_dispatch:
+name: Snap
+permissions:
+ id-token: write
+ contents: read
+jobs:
+ snap:
+ name: "Test if the Snap can be built from the latest commit in the branch"
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Git repository
+ uses: actions/checkout@v3
+ - name: Build Snap
+ uses: snapcore/action-build@v1
+ id: snapcraft-build
+ with:
+ snapcraft-args: "-v"
+ - uses: actions/upload-artifact@v3
+ with:
+ name: mini-text-amd64-snap
+ path: ${{ steps.snapcraft-build.outputs.snap }}
+ - name: Upload and release Mini Text snap with every changes
+ uses: snapcore/action-publish@v1
+ env:
+ SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
+ with:
+ snap: ${{ steps.snapcraft-build.outputs.snap }}
+ release: ${{'edge'}}
diff --git a/README.md b/README.md
index 63ddfa4..dc37db1 100644
--- a/README.md
+++ b/README.md
@@ -21,12 +21,12 @@ Best used with 'Always on Top' and/or 'Always on Visible Workspace'
## Installation
-### From Flathub
+### From the stores
-Mini Text is available to download on
-[Flathub](https://flathub.org/apps/details/io.github.nokse22.minitext).
+Mini Text is available to download on Flathub and the Snap Store
+
### From source
diff --git a/data/io.github.nokse22.minitext.appdata.xml.in b/data/io.github.nokse22.minitext.appdata.xml.in
index 44e877b..528c167 100644
--- a/data/io.github.nokse22.minitext.appdata.xml.in
+++ b/data/io.github.nokse22.minitext.appdata.xml.in
@@ -21,13 +21,23 @@ Use Ctrl+Plus and Ctrl+Minus to change the font size.
https://github.com/Nokse22/mini-text/issues
-
+
Fixed bug with shortcuts
Draggable only by the side
-
+
+
+
Bug fixes
+
+
+
+
+
Increase/decrease font size with ctrl+/-
+
+
+
Increased padding
diff --git a/io.github.nokse22.minitext.json b/io.github.nokse22.minitext.json
index 1e5e373..5963723 100644
--- a/io.github.nokse22.minitext.json
+++ b/io.github.nokse22.minitext.json
@@ -29,8 +29,9 @@
"buildsystem" : "meson",
"sources" : [
{
- "type" : "dir",
- "url" : "."
+ "type" : "git",
+ "url" : "https://github.com/Nokse22/mini-text",
+ "branch" : "master"
}
]
}
diff --git a/po/LINGUAS b/po/LINGUAS
index e69de29..a6932f4 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -0,0 +1,2 @@
+nl
+it
diff --git a/po/it.po b/po/it.po
new file mode 100644
index 0000000..9840d94
--- /dev/null
+++ b/po/it.po
@@ -0,0 +1,75 @@
+# ITALIAN TRANSLATION.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the mini-text package.
+# ALBANO BATTISTELLA , 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mini-text\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2023-08-14 18:05+0200\n"
+"PO-Revision-Date: 2023-08-19 13:40+0200\n"
+"Last-Translator: Albano Battistella \n"
+"Language-Team: Italian\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.3.2\n"
+
+#: data/io.github.nokse22.minitext.desktop.in:3
+#: data/io.github.nokse22.minitext.appdata.xml.in:6
+msgid "Mini Text"
+msgstr "Mini testo"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:8
+msgid ""
+"A very small and minimalistic text viewer with minimal editing capabilities. "
+"Best used with 'Always on Top' and/or 'Always on Visible Workspace'. It "
+"doesn't save or load files, just your clipboard. It is meant to be used as a "
+"place where to edit text to be pasted."
+msgstr ""
+"Un visualizzatore di testo molto piccolo e minimalista con capacità di modifica minime."
+"Utilizzato al meglio con 'Sempre in primo piano' e/o 'Area di lavoro sempre visibile'. "
+"Non salva o carica file, solo i tuoi appunti. È pensato per essere usato come "
+"posto dove modificare il testo da incollare."
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:10
+msgid "Ephemeral text edits"
+msgstr "Modifiche effimere al testo"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:11
+msgid "Nokse"
+msgstr ""
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:23
+msgid "Bug fixes"
+msgstr "Correzioni di bug"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:28
+msgid "Increase/descrease font size with ctrl+/-"
+msgstr "Aumenta/diminuisci la dimensione del carattere con ctrl+/-"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:33
+msgid "Increased padding"
+msgstr "Imbottitura maggiorata"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:38
+msgid "Added buttons to quickly copy and paste"
+msgstr "Aggiunti pulsanti per copiare e incollare rapidamente"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:43
+msgid "First release"
+msgstr "Primo rilascio"
+
+#: src/window.ui:98
+msgid "_Preferences"
+msgstr "_Preferenze"
+
+#: src/window.ui:102
+msgid "_Keyboard Shortcuts"
+msgstr "_ Scorciatoie da tastiera"
+
+#: src/window.ui:106
+msgid "_About Mini-text"
+msgstr "Informazioni su Mini-text"
diff --git a/po/nl.po b/po/nl.po
new file mode 100644
index 0000000..5c85d85
--- /dev/null
+++ b/po/nl.po
@@ -0,0 +1,77 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the mini-text package.
+# FIRST AUTHOR , YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mini-text\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2023-08-14 18:05+0200\n"
+"PO-Revision-Date: 2023-08-14 20:40+0200\n"
+"Last-Translator: Heimen Stoffels \n"
+"Language-Team: \n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.3.2\n"
+
+#: data/io.github.nokse22.minitext.desktop.in:3
+#: data/io.github.nokse22.minitext.appdata.xml.in:6
+msgid "Mini Text"
+msgstr "Minitekst"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:8
+msgid ""
+"A very small and minimalistic text viewer with minimal editing capabilities. "
+"Best used with 'Always on Top' and/or 'Always on Visible Workspace'. It "
+"doesn't save or load files, just your clipboard. It is meant to be used as a "
+"place where to edit text to be pasted."
+msgstr ""
+"Een hele kleine, minimalistische tekstbewerker met weinig "
+"bewerkmogelijkheiden. De toepassing laadt alléén tekst van uw klembord, dus "
+"tekst kan niet worden geladen uit of opgeslagen in een bestand. De "
+"toepassing is slechts bedoeld voor het bewerken van elders te plakken test. "
+"Tip: werkt het beste i.c.m. ‘Altijd bovenop’ en/of ‘Altijd op zichtbaar "
+"werkblad’."
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:10
+msgid "Ephemeral text edits"
+msgstr "Vlugge tekstbewerkingen"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:11
+msgid "Nokse"
+msgstr "Nokse"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:23
+msgid "Bug fixes"
+msgstr "Opgelost: bugs"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:28
+msgid "Increase/descrease font size with ctrl+/-"
+msgstr "Vergroot/Verklein tekst met behulp van Ctrl+/-"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:33
+msgid "Increased padding"
+msgstr "Verhoogd: opvulling"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:38
+msgid "Added buttons to quickly copy and paste"
+msgstr "Nieuw: knoppen om snel te kopiëren en plakken"
+
+#: data/io.github.nokse22.minitext.appdata.xml.in:43
+msgid "First release"
+msgstr "De allereerste versie"
+
+#: src/window.ui:98
+msgid "_Preferences"
+msgstr "_Voorkeuren"
+
+#: src/window.ui:102
+msgid "_Keyboard Shortcuts"
+msgstr "_Sneltoetsen"
+
+#: src/window.ui:106
+msgid "_About Mini-text"
+msgstr "_Over Minitekst"