Skip to content

Commit c9438ac

Browse files
committed
Initial commit
Signed-off-by: Ercan Ersoy <[email protected]>
0 parents  commit c9438ac

18 files changed

+1667
-0
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
build/
2+
dist/
3+
Run.egg-info/
4+
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
9+
*.glade~
10+
11+
*.po~
12+
*.mo

LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Copyright (c) 2021-2022 Ercan Ersoy
2+
3+
Run is licensed under GNU GPL v2 and GNU GPL v3.

LICENSE-GPLv2

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE-GPLv3

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Run
2+
3+
A helper application for running program
4+
5+
Copyright (c) 2021-2022 Ercan Ersoy
6+
7+
Author: Ercan Ersoy
8+
9+
# Note
10+
11+
update-strings.sh script file written by Erdem Ersoy. Some changes applied to update-strings.sh script file by Ercan Ersoy.

bin/run

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#!/usr/bin/env python3
2+
3+
#
4+
# run - Run main script
5+
#
6+
# Copyright (c) 2021-2022 Ercan Ersoy
7+
#
8+
# Author: Ercan Ersoy
9+
#
10+
11+
###########
12+
# Imports #
13+
###########
14+
15+
from run import main_window
16+
17+
import locale
18+
import os
19+
import sys
20+
21+
import gi
22+
gi.require_version('Gtk', '3.0')
23+
gi.require_version('Gio', '2.0')
24+
from gi.repository import Gtk, Gio
25+
26+
27+
#####################
28+
# Application Class #
29+
#####################
30+
31+
class Run(Gtk.Application):
32+
def __init__(self, application_id, flags):
33+
super().__init__(application_id=application_id, flags=flags)
34+
self.connect("activate", self.open_main_window)
35+
36+
def open_main_window(self, app):
37+
self.window = main_window.MainWindow(self)
38+
39+
40+
#################
41+
# Main Function #
42+
#################
43+
44+
def main():
45+
locale.setlocale(locale.LC_ALL, "")
46+
locale.bindtextdomain('run', '/usr/share/locale')
47+
48+
app = Run("net.ercanersoy.run", Gio.ApplicationFlags.FLAGS_NONE)
49+
return app.run()
50+
51+
52+
if __name__ == '__main__':
53+
sys.exit(main())

data/net.ercanersoy.run.desktop

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[Desktop Entry]
2+
Version=0.1
3+
Type=Application
4+
Name=Run
5+
Name[tr]=Çalıştır
6+
GenericName=Run
7+
GenericName[tr]=alıştır
8+
Comment=A helper application for running program
9+
Comment[tr]=Program çalıştırma için bir yardımcı uygulama
10+
TryExec=run
11+
Exec=run
12+
Icon=gnome-run
13+
Terminal=false
14+
Categories=System;GTK;
15+
StartupNotify=false

locale/en/LC_MESSAGES/run.po

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# run.po - English translation file for Run
3+
#
4+
# Copyright (c) 2021-2022 Ercan Ersoy
5+
#
6+
# Author: Ercan Ersoy
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: Run 0.1\n"
11+
"Report-Msgid-Bugs-To: \n"
12+
"POT-Creation-Date: 2022-04-10 09:48+0300\n"
13+
"PO-Revision-Date: 2022-04-10 10:05+0300\n"
14+
"Last-Translator: Ercan Ersoy <[email protected]>\n"
15+
"Language-Team: \n"
16+
"Language: en\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"X-Generator: Poedit 2.4.2\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
22+
23+
#: ui/main-window.glade:33
24+
msgid "Run with terminal emulator"
25+
msgstr "Run with terminal emulator"
26+
27+
#: ui/main-window.glade:48
28+
msgid "Run with root privileges"
29+
msgstr "Run with root privileges"
30+
31+
#: ui/main-window.glade:67
32+
msgid "Run"
33+
msgstr "Run"
34+
35+
#: ui/about-dialog.glade:11
36+
msgid "Copyright (c) 2021-2022 Ercan Ersoy"
37+
msgstr "Copyright (c) 2021-2022 Ercan Ersoy"
38+
39+
#: ui/about-dialog.glade:12
40+
msgid "A helper application for running program"
41+
msgstr "A helper application for running program"
42+
43+
#: ui/about-dialog.glade:14
44+
msgid "Website"
45+
msgstr "Website"
46+
47+
#: ui/about-dialog.glade:15
48+
msgid "This software licensed under GNU GPLv2 and GNU GPLv3."
49+
msgstr "This software licensed under GNU GPLv2 and GNU GPLv3."
50+
51+
#: ui/about-dialog.glade:18
52+
msgid "Ercan Ersoy"
53+
msgstr "Ercan Ersoy"

locale/run.pot

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the run package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: run 0.1\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2022-04-10 10:05+0300\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=CHARSET\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: ui/main-window.glade:33
21+
msgid "Run with terminal emulator"
22+
msgstr ""
23+
24+
#: ui/main-window.glade:48
25+
msgid "Run with root privileges"
26+
msgstr ""
27+
28+
#: ui/main-window.glade:67
29+
msgid "Run"
30+
msgstr ""
31+
32+
#: ui/about-dialog.glade:11
33+
msgid "Copyright (c) 2021-2022 Ercan Ersoy"
34+
msgstr ""
35+
36+
#: ui/about-dialog.glade:12
37+
msgid "A helper application for running program"
38+
msgstr ""
39+
40+
#: ui/about-dialog.glade:14
41+
msgid "Website"
42+
msgstr ""
43+
44+
#: ui/about-dialog.glade:15
45+
msgid "This software licensed under GNU GPLv2 and GNU GPLv3."
46+
msgstr ""
47+
48+
#: ui/about-dialog.glade:18
49+
msgid "Ercan Ersoy"
50+
msgstr ""

locale/tr/LC_MESSAGES/run.po

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# run.po - Turkish translation file for Run
3+
#
4+
# Copyright (c) 2021-2022 Ercan Ersoy
5+
#
6+
# Author: Ercan Ersoy
7+
#
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: Run 0.1\n"
11+
"Report-Msgid-Bugs-To: \n"
12+
"POT-Creation-Date: 2022-04-10 09:48+0300\n"
13+
"PO-Revision-Date: 2022-04-10 10:06+0300\n"
14+
"Last-Translator: Ercan Ersoy <[email protected]>\n"
15+
"Language-Team: \n"
16+
"Language: tr\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"X-Generator: Poedit 2.4.2\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
22+
23+
#: ui/main-window.glade:33
24+
msgid "Run with terminal emulator"
25+
msgstr "Uçbirim emulatöründe çalıştır"
26+
27+
#: ui/main-window.glade:48
28+
msgid "Run with root privileges"
29+
msgstr "Yönetici haklarıyla çalıştır"
30+
31+
#: ui/main-window.glade:67
32+
msgid "Run"
33+
msgstr "Çalıştır"
34+
35+
#: ui/about-dialog.glade:11
36+
msgid "Copyright (c) 2021-2022 Ercan Ersoy"
37+
msgstr "Telif Hakkı (c) 2021-2022 Ercan Ersoy"
38+
39+
#: ui/about-dialog.glade:12
40+
msgid "A helper application for running program"
41+
msgstr "Program çalıştırma için yardımcı uygulama"
42+
43+
#: ui/about-dialog.glade:14
44+
msgid "Website"
45+
msgstr "Web Sitesi"
46+
47+
#: ui/about-dialog.glade:15
48+
msgid "This software licensed under GNU GPLv2 and GNU GPLv3."
49+
msgstr "Bu yazılım, GNU GPLv2 ve GNU GPLv3 altında lisanslanmıştır."
50+
51+
#: ui/about-dialog.glade:18
52+
msgid "Ercan Ersoy"
53+
msgstr "Ercan Ersoy"

0 commit comments

Comments
 (0)