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

locale and menu adjustments #127

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build termit

on: [push, pull_request]

jobs:
fedora_latest_build:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1000
- name: Prepare build environment.
run: |
dnf -y upgrade
dnf -y install cmake gcc gtk+ vte291 vte291-devel lua lua-devel
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
- name: Build
run: |
make
- name: Install
run: |
make install
- name: Test version
run: |
termit --version

ubuntu_latest_build:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare build environment.
run: |
apt-get update
apt-get -y install apt-utils
apt-get -y full-upgrade
apt-get install -y gcc cmake lua5.4-dev libgtk-3-dev libvte-2.91 gettext
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
- name: Build
run: |
make
- name: Install
run: |
make install
- name: Test version
run: |
termit --version
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

PROJECT(TERMIT C)

cmake_minimum_required(VERSION 2.6.1 FATAL_ERROR)
cmake_minimum_required(VERSION 2.6.1...3.22.2 FATAL_ERROR)
SET(CMAKE_VERSION "${CMAKE_CACHE_MAJOR_VERSION}.${CMAKE_CACHE_MINOR_VERSION}.${CMAKE_CACHE_RELEASE_VERSION}")

INCLUDE(UsePkgConfig)
Expand All @@ -38,7 +38,7 @@ SET(ENABLE_NLS TRUE CACHE BOOL "enable translation")
SET(XDG_DIR ${XDG_DIR} CACHE STRING "default xdg dir")

SET(TERMIT_PACKAGE "termit")
SET(TERMIT_PACKAGE_VERSION "3.1.0")
SET(TERMIT_PACKAGE_VERSION "3.1.1")
SET(TERMIT_LOCALE_DIR "${CMAKE_INSTALL_PREFIX}/share/locale")
SET(TERMIT_XDG_DIR "${XDG_DIR}/termit")
SET(TERMIT_PACKAGE_NAME "termit - terminal emulator")
Expand Down
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# termit
Terminal emulator based on VTE library with Lua scripting

## Installation Instructions
[General guide](INSTALL)
### Prepare dependancies
#### fedora
```bash
# dnf -y install cmake gcc gtk+ vte291 vte291-devel lua lua-devel
```

#### ubuntu
```bash
# apt-get install -y gcc cmake lua5.4-dev libgtk-3-dev libvte-2.91 gettext
```

### build
Download, configure, build and install
```bash
$ git clone https://github.com/nonstop/termit.git
$ cd termit
$ cmake -DCMAKE_BUILD_TYPE=Release .
$ make
$ sudo make install
```

## [Changelog](ChangeLog)

## [Copyright](COPYING)
2 changes: 2 additions & 0 deletions po/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
SET(PO_FILES
da.po
de.po
es.po
fr.po
hu.po
ja.po
ko.po
nl.po
pl.po
ru.po
sv.po
Expand Down
58 changes: 29 additions & 29 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,43 @@ msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2011-12-19 21:23+0100\n"
"Last-Translator: Dennis Ploeger <develop@dieploegers.de>\n"
"PO-Revision-Date: 2022-09-08 22:22+0100\n"
"Last-Translator: SwissalpS <Luke@SwissalpS.ws>\n"
"Language-Team: de\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/termit_preferences.c:218
#: src/termit_preferences.c:219
msgid "Apply to all tabs"
msgstr ""
msgstr "Auf alle Tabs anwenden"

#: src/termit_preferences.c:206
#: src/termit_preferences.c:213
#, fuzzy
msgid "Audible bell"
msgstr "Glocke"

#: src/termit_preferences.c:207
msgid "Background"
msgstr "Hintergrund"

#: src/termit_core_api.c:440
#: src/termit_core_api.c:464
msgid "Cannot create a new tab"
msgstr "Konnte keinen neuen Tab erzeugen"

#: src/termit_core_api.c:392
#: src/termit_core_api.c:416
msgid "Cannot parse command. Creating tab with shell"
msgstr ""
"Konnte Befehl nicht untersuchen. Erstelle einen Tab mit der Kommandozeile"

#: src/termit.c:170 src/termit.c:223
msgid "Close tab"
msgstr "Tab schliessen"

#: src/termit.c:187 src/termit.c:226
msgid "Copy"
msgstr ""

#: src/termit.c:170 src/termit.c:223
msgid "Delete"
msgstr ""
msgstr "Kopieren"

#: src/termit.c:190
msgid "Edit"
Expand All @@ -49,37 +54,37 @@ msgstr "Bearbeiten"
msgid "File"
msgstr "Datei"

#: src/termit_preferences.c:192
#: src/termit_preferences.c:193
msgid "Font"
msgstr "Schriftart"

#: src/termit_preferences.c:199
#: src/termit_preferences.c:200
msgid "Foreground"
msgstr "Vordergrund"

#. File menu
#: src/termit.c:169 src/termit.c:222
msgid "Open"
msgstr ""
msgid "New tab"
msgstr "Neuen Tab"

#. Sessions menu
#: src/termit.c:202 src/callbacks.c:395
#: src/termit.c:202 src/callbacks.c:418
msgid "Open session"
msgstr "Sitzung öffnen"

#: src/termit.c:188 src/termit.c:227
msgid "Paste"
msgstr ""
msgstr "Einfügen"

#: src/termit.c:186 src/termit.c:225 src/termit_preferences.c:166
#: src/termit.c:186 src/termit.c:225 src/termit_preferences.c:167
msgid "Preferences"
msgstr ""
msgstr "Einstellungen"

#: src/termit.c:171 src/termit.c:228
msgid "Quit"
msgstr ""
msgstr "Beenden"

#: src/termit.c:203 src/callbacks.c:365
#: src/termit.c:203 src/callbacks.c:388
msgid "Save session"
msgstr "Sitzung speichern"

Expand All @@ -104,11 +109,11 @@ msgstr ""
"Mehrere Tabs sind geöffnet.\n"
"Trotzdem schließen?"

#: src/callbacks.c:274 src/callbacks.c:285
#: src/callbacks.c:297 src/callbacks.c:308
msgid "Tab name"
msgstr "Tab-Name"

#: src/termit_preferences.c:186
#: src/termit_preferences.c:187
msgid "Title"
msgstr "Titel"

Expand All @@ -117,11 +122,6 @@ msgstr "Titel"
msgid "Unable to create directory '%s': %s"
msgstr "Konnte Verzeichnis '%s' nicht erstellen: %s"

#: src/termit_preferences.c:212
#, fuzzy
msgid "audible bell"
msgstr "Glocke"

#~ msgid "Background image"
#~ msgstr "Hintergrundbild"

Expand Down
60 changes: 30 additions & 30 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,42 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Martintxo <martintxo@sindominio.net>\n"
"PO-Revision-Date: 2022-09-08 22:22+0100\n"
"Last-Translator: SwissalpS <Luke@SwissalpS.ws>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/termit_preferences.c:218
#: src/termit_preferences.c:219
msgid "Apply to all tabs"
msgstr ""
msgstr "Aplicar a todas las pestañas"

#: src/termit_preferences.c:206
#: src/termit_preferences.c:213
#, fuzzy
msgid "Audible bell"
msgstr "Timbre audible"

#: src/termit_preferences.c:207
msgid "Background"
msgstr "Fondo"

#: src/termit_core_api.c:440
#: src/termit_core_api.c:464
msgid "Cannot create a new tab"
msgstr "No se puede crear una nueva pestaña"

#: src/termit_core_api.c:392
#: src/termit_core_api.c:416
msgid "Cannot parse command. Creating tab with shell"
msgstr "El comando no se entiende. Creando una nueva pestaña con shell"

#: src/termit.c:170 src/termit.c:223
msgid "Close tab"
msgstr "Cerrar pestaña"

#: src/termit.c:187 src/termit.c:226
msgid "Copy"
msgstr ""

#: src/termit.c:170 src/termit.c:223
msgid "Delete"
msgstr ""
msgstr "Copiar"

#: src/termit.c:190
msgid "Edit"
Expand All @@ -47,37 +52,37 @@ msgstr "Editar"
msgid "File"
msgstr "Archivo"

#: src/termit_preferences.c:192
#: src/termit_preferences.c:193
msgid "Font"
msgstr "Tipografía"

#: src/termit_preferences.c:199
#: src/termit_preferences.c:200
msgid "Foreground"
msgstr "Frente"

#. File menu
#: src/termit.c:169 src/termit.c:222
msgid "Open"
msgstr ""
msgid "New tab"
msgstr "Nueva pestaña"

#. Sessions menu
#: src/termit.c:202 src/callbacks.c:395
#: src/termit.c:202 src/callbacks.c:418
msgid "Open session"
msgstr "Abrir sesión"

#: src/termit.c:188 src/termit.c:227
msgid "Paste"
msgstr ""
msgstr "Pegar"

#: src/termit.c:186 src/termit.c:225 src/termit_preferences.c:166
#: src/termit.c:186 src/termit.c:225 src/termit_preferences.c:167
msgid "Preferences"
msgstr ""
msgstr "Preferencias"

#: src/termit.c:171 src/termit.c:228
msgid "Quit"
msgstr ""
msgstr "Salir"

#: src/termit.c:203 src/callbacks.c:365
#: src/termit.c:203 src/callbacks.c:388
msgid "Save session"
msgstr "Guardar sesión"

Expand All @@ -100,13 +105,13 @@ msgid ""
"Close anyway?"
msgstr ""
"Hay varias pestañas abiertas.\n"
"¿Cerrarlas todas?"
"¿Cerrarlas todas igual?"

#: src/callbacks.c:274 src/callbacks.c:285
#: src/callbacks.c:297 src/callbacks.c:308
msgid "Tab name"
msgstr "Nombre de la pestaña"

#: src/termit_preferences.c:186
#: src/termit_preferences.c:187
msgid "Title"
msgstr "Título"

Expand All @@ -115,11 +120,6 @@ msgstr "Título"
msgid "Unable to create directory '%s': %s"
msgstr "No se puede crear el directorio '%s': %s."

#: src/termit_preferences.c:212
#, fuzzy
msgid "audible bell"
msgstr "Timbre audible"

#~ msgid "Background image"
#~ msgstr "Imagen de fondo"

Expand Down
Loading