Skip to content

Commit

Permalink
feat: add CI, update POT file; fix: translatable strings in UI files
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
kbdharun committed Jun 21, 2024
1 parent 16b25f4 commit 7a492f1
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 34 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on:
push:
pull_request:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main

steps:
- uses: actions/checkout@v4

- name: Install build dependencies
run: |
apt-get update
apt-get install -y build-essential gettext meson libadwaita-1-dev desktop-file-utils
- name: Setup and Build
run: meson setup build
File renamed without changes.
6 changes: 3 additions & 3 deletions apx_gui/gtk/sidebar.ui
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@
<menu id="menu_add">
<section>
<item>
<attribute name="label" translatable="true">New Subsystem</attribute>
<attribute name="label" translatable="yes">New Subsystem</attribute>
<attribute name="action">app.new_subsystem</attribute>
</item>
<item>
<attribute name="label" translatable="true">New Stack</attribute>
<attribute name="label" translatable="yes">New Stack</attribute>
<attribute name="action">app.new_stack</attribute>
</item>
<item>
<attribute name="label" translatable="true">New Package Manager</attribute>
<attribute name="label" translatable="yes">New Package Manager</attribute>
<attribute name="action">app.new_pkgmanager</attribute>
</item>
</section>
Expand Down
4 changes: 2 additions & 2 deletions apx_gui/gtk/window-main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
<menu id="menu_primary">
<section>
<item>
<attribute name="label" translatable="true">_Keyboard Shortcuts</attribute>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="true">_About Apx GUI</attribute>
<attribute name="label" translatable="yes">_About Apx GUI</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
Expand Down
75 changes: 46 additions & 29 deletions po/apx_gui.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ msgid ""
msgstr ""
"Project-Id-Version: apx_gui\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-17 09:36+0530\n"
"POT-Creation-Date: 2024-06-20 23:34+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: data/org.vanillaos.ApxGUI.desktop.in:3
Expand All @@ -25,7 +25,7 @@ msgstr ""
msgid "A frontend in GTK 4 and Libadwaita for Apx."
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:6 apx_gui/gtk/window-main.ui:71
#: apx_gui/gtk/create-pkgmanager.ui:6 apx_gui/gtk/sidebar.ui:93
msgid "New Package Manager"
msgstr ""

Expand All @@ -40,7 +40,7 @@ msgid "Create"
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:41 apx_gui/gtk/tab-pkgmanager.ui:24
#: apx_gui/gtk/tab-stack.ui:24
#: apx_gui/gtk/tab-stack.ui:24 apx_gui/gtk/tab-subsystem.ui:15
msgid "Details"
msgstr ""

Expand Down Expand Up @@ -98,27 +98,27 @@ msgid "Upgrade"
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:144
msgid "Creating Package Manager"
msgid "Creating Package Manager"
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:145
msgid "Please wait while the package manager is being created."
msgid "Please wait while the package manager is being created"
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:169
msgid "An Error Occurred"
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:170
msgid "An error occurred while creating the package manager."
msgid "An error occurred while creating the package manager"
msgstr ""

#: apx_gui/gtk/create-pkgmanager.ui:174 apx_gui/gtk/create-stack.ui:148
#: apx_gui/gtk/create-subsystem.ui:108
#: apx_gui/gtk/create-subsystem.ui:144
msgid "Close"
msgstr ""

#: apx_gui/gtk/create-stack.ui:6 apx_gui/gtk/window-main.ui:67
#: apx_gui/gtk/create-stack.ui:6 apx_gui/gtk/sidebar.ui:89
msgid "New Stack"
msgstr ""

Expand All @@ -127,7 +127,7 @@ msgid "Base"
msgstr ""

#: apx_gui/gtk/create-stack.ui:54 apx_gui/gtk/tab-stack.ui:38
#: apx_gui/gtk/tab-subsystem.ui:37
#: apx_gui/gtk/tab-subsystem.ui:38
msgid "Package Manager"
msgstr ""

Expand All @@ -140,39 +140,43 @@ msgid "New Package"
msgstr ""

#: apx_gui/gtk/create-stack.ui:119
msgid "Please wait while the stack is being created."
msgid "Please wait while the stack is being created"
msgstr ""

#: apx_gui/gtk/create-stack.ui:144
msgid "An error occurred while creating the stack."
msgid "An error occurred while creating the stack"
msgstr ""

#: apx_gui/gtk/create-subsystem.ui:6 apx_gui/gtk/window-main.ui:63
#: apx_gui/gtk/create-subsystem.ui:6 apx_gui/gtk/sidebar.ui:85
msgid "New Subsystem"
msgstr ""

#: apx_gui/gtk/create-subsystem.ui:49 apx_gui/gtk/tab-subsystem.ui:27
#: apx_gui/gtk/create-subsystem.ui:49 apx_gui/gtk/tab-subsystem.ui:28
msgid "Stack"
msgstr ""

#: apx_gui/gtk/create-subsystem.ui:78
msgid "Creating Subsystem"
msgid "Creating Subsystem"
msgstr ""

#: apx_gui/gtk/create-subsystem.ui:79
msgid "Please wait while the subsystem is being created."
msgid "Please wait while the subsystem is being created"
msgstr ""

#: apx_gui/gtk/create-subsystem.ui:104
msgid "An error occurred while creating the subsystem."
#: apx_gui/gtk/create-subsystem.ui:92
msgid "Show Console Output"
msgstr ""

#: apx_gui/gtk/create-subsystem.ui:140
msgid "An error occurred while creating the subsystem"
msgstr ""

#: apx_gui/gtk/editor.ui:12
msgid "Start or Open a Subsystem"
msgstr ""

#: apx_gui/gtk/editor.ui:13
msgid "Start by opening a subsystem, stack or package manager on the left."
msgid "Start by opening a subsystem, stack or package manager on the left"
msgstr ""

#: apx_gui/gtk/help-overlay.ui:11
Expand Down Expand Up @@ -211,14 +215,15 @@ msgid "New Package Manager"
msgstr ""

#: apx_gui/gtk/tab-pkgmanager.ui:13
msgid "This package manager is built-in and cannot be edited or deleted."
msgid "This package manager is built-in and cannot be edited or deleted"
msgstr ""

#: apx_gui/gtk/tab-pkgmanager.ui:42 apx_gui/gtk/tab-stack.ui:49
msgid "Built-In"
msgstr ""

#: apx_gui/gtk/tab-pkgmanager.ui:119 apx_gui/gtk/tab-stack.ui:71
#: apx_gui/gtk/tab-subsystem.ui:107
msgid "Destructive Actions"
msgstr ""

Expand All @@ -227,7 +232,7 @@ msgid "Delete Package Manager"
msgstr ""

#: apx_gui/gtk/tab-stack.ui:13
msgid "This stack is built-in and cannot be edited or deleted."
msgid "This stack is built-in and cannot be edited or deleted"
msgstr ""

#: apx_gui/gtk/tab-stack.ui:59
Expand All @@ -238,31 +243,43 @@ msgstr ""
msgid "Delete Stack"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:17
#: apx_gui/gtk/tab-subsystem.ui:18
msgid "Status"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:61
#: apx_gui/gtk/tab-subsystem.ui:59
msgid "Subsystem actions"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:75
msgid "Autoremove Packages"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:90
msgid "Clean Package Manager Cache"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:110
msgid "Reset Subsystem"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:76
#: apx_gui/gtk/tab-subsystem.ui:125
msgid "Delete Subsystem"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:114
#: apx_gui/gtk/tab-subsystem.ui:164
msgid "Restart Console"
msgstr ""

#: apx_gui/gtk/tab-subsystem.ui:125
#: apx_gui/gtk/tab-subsystem.ui:175
msgid "Toggle Console"
msgstr ""

#: apx_gui/gtk/window-main.ui:79
#: apx_gui/gtk/window-main.ui:53
msgid "_Keyboard Shortcuts"
msgstr ""

#: apx_gui/gtk/window-main.ui:83
#: apx_gui/gtk/window-main.ui:57
msgid "_About Apx GUI"
msgstr ""

Expand All @@ -274,6 +291,6 @@ msgstr ""
msgid "Contributors"
msgstr ""

#: apx_gui/main.py:93
#: apx_gui/main.py:94
msgid "Tools"
msgstr ""

0 comments on commit 7a492f1

Please sign in to comment.