Skip to content

Commit 54c5589

Browse files
committed
code cleanup
1 parent b0485b5 commit 54c5589

37 files changed

+226
-249
lines changed

data/io.github.ellie_commons.jorts.metainfo.xml.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@
9393
<value key="x-appcenter-suggested-price">1</value>
9494
</custom>
9595
<releases>
96+
<release version="3.2" date="2025-06-11">
97+
<description>
98+
<p>3.2.0 Jorts of Truth</p>
99+
<ul>
100+
<li>Add a cool little animation when enabling/disabling actionbar</li>
101+
<li>Code cleaning</li>
102+
<li>Updated JA translations thanks to @RyoNakano!</li>
103+
</ul>
104+
</description>
105+
</release>
96106
<release version="3.1.3" date="2025-05-11">
97107
<description>
98108
<p>3.1.3 Jorts of fire and lava</p>

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ executable(
5151

5252
'src/Application.vala',
5353
'src/Preferences.vala',
54-
'src/MainWindow.vala',
54+
'src/StickyNoteWindow.vala',
5555
dependencies: [
5656
dependency('granite-7'),
5757
dependency('gobject-2.0'),

po/POTFILES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ src/Widgets/ColorBox.vala
22
src/Widgets/SettingsPopover.vala
33
src/Widgets/StickyView.vala
44
src/Preferences.vala
5-
src/MainWindow.vala
5+
src/StickyNoteWindow.vala
66
src/Application.vala
77
src/Services/Utils.vala

po/bn.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ msgstr "ডিফল্ট জুম স্তর"
7070
msgid "Zoom in"
7171
msgstr "জুম ইন"
7272

73-
#. Called by the Mainwindow when adjusting to new zoomlevel
74-
#. Mainwindow reacts to a signal by the popover
73+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
74+
#. StickyNoteWindow reacts to a signal by the popover
7575
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7676
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7777
#: src/Widgets/SettingsPopover.vala:157
@@ -138,23 +138,23 @@ msgstr ""
138138
msgid "Reset all settings to defaults"
139139
msgstr ""
140140

141-
#: src/MainWindow.vala:145
141+
#: src/StickyNoteWindow.vala:145
142142
msgid "Edit title"
143143
msgstr "শিরোনাম সম্পাদনা করুন"
144144

145-
#: src/MainWindow.vala:176
145+
#: src/StickyNoteWindow.vala:176
146146
msgid "New sticky note"
147147
msgstr "নতুন স্টিকি নোট"
148148

149-
#: src/MainWindow.vala:189
149+
#: src/StickyNoteWindow.vala:189
150150
msgid "Delete sticky note"
151151
msgstr "স্টিকি নোট মুছুন"
152152

153-
#: src/MainWindow.vala:209
153+
#: src/StickyNoteWindow.vala:209
154154
msgid "Insert emoji"
155155
msgstr "ইমোজি sert োকান"
156156

157-
#: src/MainWindow.vala:246
157+
#: src/StickyNoteWindow.vala:246
158158
msgid "Preferences for this sticky note"
159159
msgstr "এই স্টিকি নোটের জন্য পছন্দগুলি"
160160

po/cs.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ msgstr "Výchozí úroveň přiblížení"
6565
msgid "Zoom in"
6666
msgstr "Přiblížení"
6767

68-
#. Called by the Mainwindow when adjusting to new zoomlevel
69-
#. Mainwindow reacts to a signal by the popover
68+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
69+
#. StickyNoteWindow reacts to a signal by the popover
7070
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7171
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7272
#: src/Widgets/SettingsPopover.vala:157
@@ -131,23 +131,23 @@ msgstr "Obnovení výchozího nastavení"
131131
msgid "Reset all settings to defaults"
132132
msgstr "Obnovení výchozího nastavení"
133133

134-
#: src/MainWindow.vala:145
134+
#: src/StickyNoteWindow.vala:145
135135
msgid "Edit title"
136136
msgstr "Upravit název"
137137

138-
#: src/MainWindow.vala:176
138+
#: src/StickyNoteWindow.vala:176
139139
msgid "New sticky note"
140140
msgstr "Nová samolepicí poznámka"
141141

142-
#: src/MainWindow.vala:189
142+
#: src/StickyNoteWindow.vala:189
143143
msgid "Delete sticky note"
144144
msgstr "Odstranění samolepicí poznámky"
145145

146-
#: src/MainWindow.vala:209
146+
#: src/StickyNoteWindow.vala:209
147147
msgid "Insert emoji"
148148
msgstr "Vložte emoji"
149149

150-
#: src/MainWindow.vala:246
150+
#: src/StickyNoteWindow.vala:246
151151
msgid "Preferences for this sticky note"
152152
msgstr "Předvolby pro tuto samolepicí poznámku"
153153

po/da.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ msgstr "Standard zoomniveau"
6565
msgid "Zoom in"
6666
msgstr "Zoom ind"
6767

68-
#. Called by the Mainwindow when adjusting to new zoomlevel
69-
#. Mainwindow reacts to a signal by the popover
68+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
69+
#. StickyNoteWindow reacts to a signal by the popover
7070
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7171
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7272
#: src/Widgets/SettingsPopover.vala:157
@@ -130,23 +130,23 @@ msgstr "Nulstil til standard"
130130
msgid "Reset all settings to defaults"
131131
msgstr "Nulstil alle indstillinger til standard"
132132

133-
#: src/MainWindow.vala:145
133+
#: src/StickyNoteWindow.vala:145
134134
msgid "Edit title"
135135
msgstr "Rediger titel"
136136

137-
#: src/MainWindow.vala:176
137+
#: src/StickyNoteWindow.vala:176
138138
msgid "New sticky note"
139139
msgstr "Ny sticky note"
140140

141-
#: src/MainWindow.vala:189
141+
#: src/StickyNoteWindow.vala:189
142142
msgid "Delete sticky note"
143143
msgstr "Slet klistermærke"
144144

145-
#: src/MainWindow.vala:209
145+
#: src/StickyNoteWindow.vala:209
146146
msgid "Insert emoji"
147147
msgstr "Indsæt emoji"
148148

149-
#: src/MainWindow.vala:246
149+
#: src/StickyNoteWindow.vala:246
150150
msgid "Preferences for this sticky note"
151151
msgstr "Indstillinger for denne huskeseddel"
152152

po/de.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ msgstr "Standard-Zoomstufe"
6565
msgid "Zoom in"
6666
msgstr "Vergrößern"
6767

68-
#. Called by the Mainwindow when adjusting to new zoomlevel
69-
#. Mainwindow reacts to a signal by the popover
68+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
69+
#. StickyNoteWindow reacts to a signal by the popover
7070
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7171
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7272
#: src/Widgets/SettingsPopover.vala:157
@@ -128,23 +128,23 @@ msgstr "Auf Standard zurücksetzen"
128128
msgid "Reset all settings to defaults"
129129
msgstr "Alle Einstellungen auf Standardwerte zurücksetzen"
130130

131-
#: src/MainWindow.vala:145
131+
#: src/StickyNoteWindow.vala:145
132132
msgid "Edit title"
133133
msgstr "Titel bearbeiten"
134134

135-
#: src/MainWindow.vala:176
135+
#: src/StickyNoteWindow.vala:176
136136
msgid "New sticky note"
137137
msgstr "Neue Haftnotiz"
138138

139-
#: src/MainWindow.vala:189
139+
#: src/StickyNoteWindow.vala:189
140140
msgid "Delete sticky note"
141141
msgstr "Haftnotiz löschen"
142142

143-
#: src/MainWindow.vala:209
143+
#: src/StickyNoteWindow.vala:209
144144
msgid "Insert emoji"
145145
msgstr "Emoji einfügen"
146146

147-
#: src/MainWindow.vala:246
147+
#: src/StickyNoteWindow.vala:246
148148
msgid "Preferences for this sticky note"
149149
msgstr "Einstellungen für diesen Haftnotizblock"
150150

po/el.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ msgstr "Προεπιλεγμένο επίπεδο ζουμ"
6565
msgid "Zoom in"
6666
msgstr "Μεγέθυνση"
6767

68-
#. Called by the Mainwindow when adjusting to new zoomlevel
69-
#. Mainwindow reacts to a signal by the popover
68+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
69+
#. StickyNoteWindow reacts to a signal by the popover
7070
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7171
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7272
#: src/Widgets/SettingsPopover.vala:157
@@ -129,23 +129,23 @@ msgstr "Επαναφορά στην προεπιλογή"
129129
msgid "Reset all settings to defaults"
130130
msgstr "Επαναφορά όλων των ρυθμίσεων στις προεπιλογές"
131131

132-
#: src/MainWindow.vala:145
132+
#: src/StickyNoteWindow.vala:145
133133
msgid "Edit title"
134134
msgstr "Επεξεργασία τίτλου"
135135

136-
#: src/MainWindow.vala:176
136+
#: src/StickyNoteWindow.vala:176
137137
msgid "New sticky note"
138138
msgstr "Νέα αυτοκόλλητη σημείωση"
139139

140-
#: src/MainWindow.vala:189
140+
#: src/StickyNoteWindow.vala:189
141141
msgid "Delete sticky note"
142142
msgstr "Διαγραφή αυτοκόλλητης σημείωσης"
143143

144-
#: src/MainWindow.vala:209
144+
#: src/StickyNoteWindow.vala:209
145145
msgid "Insert emoji"
146146
msgstr "Εισαγωγή emoji"
147147

148-
#: src/MainWindow.vala:246
148+
#: src/StickyNoteWindow.vala:246
149149
msgid "Preferences for this sticky note"
150150
msgstr "Προτιμήσεις για αυτό το αυτοκόλλητο σημείωμα"
151151

po/es.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ msgstr "Nivel de zoom predeterminado"
6565
msgid "Zoom in"
6666
msgstr "Acercar"
6767

68-
#. Called by the Mainwindow when adjusting to new zoomlevel
69-
#. Mainwindow reacts to a signal by the popover
68+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
69+
#. StickyNoteWindow reacts to a signal by the popover
7070
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7171
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7272
#: src/Widgets/SettingsPopover.vala:157
@@ -131,23 +131,23 @@ msgstr "Restablecer valores por defecto"
131131
msgid "Reset all settings to defaults"
132132
msgstr "Restablecer todos los ajustes por defecto"
133133

134-
#: src/MainWindow.vala:145
134+
#: src/StickyNoteWindow.vala:145
135135
msgid "Edit title"
136136
msgstr "Editar título"
137137

138-
#: src/MainWindow.vala:176
138+
#: src/StickyNoteWindow.vala:176
139139
msgid "New sticky note"
140140
msgstr "Nueva nota adhesiva"
141141

142-
#: src/MainWindow.vala:189
142+
#: src/StickyNoteWindow.vala:189
143143
msgid "Delete sticky note"
144144
msgstr "Eliminar nota adhesiva"
145145

146-
#: src/MainWindow.vala:209
146+
#: src/StickyNoteWindow.vala:209
147147
msgid "Insert emoji"
148148
msgstr "inserte emoji"
149149

150-
#: src/MainWindow.vala:246
150+
#: src/StickyNoteWindow.vala:246
151151
msgid "Preferences for this sticky note"
152152
msgstr "Preferencias para esta nota pegajosa"
153153

po/fi.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ msgstr "Oletusarvoinen zoomaustaso"
6565
msgid "Zoom in"
6666
msgstr "Suurenna"
6767

68-
#. Called by the Mainwindow when adjusting to new zoomlevel
69-
#. Mainwindow reacts to a signal by the popover
68+
#. Called by the StickyNoteWindow when adjusting to new zoomlevel
69+
#. StickyNoteWindow reacts to a signal by the popover
7070
#. TRANSLATORS: %d is replaced by a number. Ex: 100, to display 100%
7171
#. It must stay as "%d" in the translation so the app can replace it with the current zoom level.
7272
#: src/Widgets/SettingsPopover.vala:157
@@ -131,23 +131,23 @@ msgstr "Palauta oletusasetuksiin"
131131
msgid "Reset all settings to defaults"
132132
msgstr "Nollaa kaikki asetukset oletusasetuksiin"
133133

134-
#: src/MainWindow.vala:145
134+
#: src/StickyNoteWindow.vala:145
135135
msgid "Edit title"
136136
msgstr "Muokkaa otsikkoa"
137137

138-
#: src/MainWindow.vala:176
138+
#: src/StickyNoteWindow.vala:176
139139
msgid "New sticky note"
140140
msgstr "Uusi muistilappu"
141141

142-
#: src/MainWindow.vala:189
142+
#: src/StickyNoteWindow.vala:189
143143
msgid "Delete sticky note"
144144
msgstr "Poista muistilappu"
145145

146-
#: src/MainWindow.vala:209
146+
#: src/StickyNoteWindow.vala:209
147147
msgid "Insert emoji"
148148
msgstr "Lisää hymiö"
149149

150-
#: src/MainWindow.vala:246
150+
#: src/StickyNoteWindow.vala:246
151151
msgid "Preferences for this sticky note"
152152
msgstr "Tämän muistilapun asetukset"
153153

0 commit comments

Comments
 (0)