Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<li>Work on a single local draft, then publish or save as another file when you're finished</li>
<li>Choose from three different fonts: serif, sans-serif, or monospace</li>
<li>Dark mode on platforms that support it</li>
<li>Publish to Write.as and share your post (<a href="https://write.as/l23z7d6yb0dd5v4c.md">example</a>)</li>
<li>Publish to Write.as and share your post</li>
<li>Manage published posts with the built-in command-line interface</li>
</ul>
</description>
Expand Down
20 changes: 16 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@ foreach i : icon_sizes
)
endforeach

install_data('com.github.writeas.writeas-gtk.desktop',
install_dir: join_paths(get_option('datadir'), 'applications'))
install_data('com.github.writeas.writeas-gtk.appdata.xml',
install_dir: join_paths(get_option('datadir'), 'metainfo'))
i18n.merge_file(
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
type: 'desktop',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)

i18n.merge_file(
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
8 changes: 6 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
project('com.github.writeas.writeas-gtk', ['vala', 'c'],
project('com.github.writeas.writeas-gtk', 'vala', 'c',
version: '1.0.2',
license: 'GPL',
meson_version: '>=0.40.1')
meson_version: '>=0.40.1'
)

i18n = import('i18n')
conf = configuration_data()
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
configure_file(output: 'config.h', configuration: conf)
config_h_dir = include_directories('.')

add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')

run_target('build', command: 'meson/build-cli.sh')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the CLI still get built when building the app now?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this line back but don't see it in action. Any idea?

Copy link
Author

@NathanBnm NathanBnm Nov 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Writeas CLI is not being installed


subdir('data')
subdir('po')
subdir('src')
subdir('fonts/lora')

Expand Down
194 changes: 194 additions & 0 deletions po/LINGUAS
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
aa
ab
ae
af
ak
am
an
ar
as
ast
av
ay
az
ba
be
bg
bh
bi
bm
bn
bo
br
bs
ca
ce
ch
ckb
co
cr
cs
cu
cv
cy
da
de
dv
dz
ee
el
en_AU
en_CA
en_GB
eo
es
et
eu
fa
ff
fi
fj
fo
fr_CA
fr
fy
ga
gd
gl
gn
gu
gv
ha
he
hi
ho
hr
ht
hu
hy
hz
ia
id
ie
ig
ii
ik
io
is
it
iu
ja
jv
ka
kg
ki
kj
kk
kl
km
kn
ko
kr
ks
ku
kv
kw
ky
la
lb
lg
li
ln
lo
lt
lu
lv
mg
mh
mi
mk
ml
mn
mo
mr
ms
mt
my
na
nb
nd
ne
ng
nl
nn
nr
nv
ny
oc
oj
om
or
os
pa
pi
pl
ps
pt_BR
pt
qu
rm
rn
ro
rue
ru
rw
sa
sc
sd
se
sg
si
sk
sl
sma
sm
sn
so
sq
sr
ss
st
su
sv
sw
ta
te
tg
th
ti
tk
tl
tn
to
tr
ts
tt
tw
ty
ug
uk
ur
uz
ve
vi
vo
wa
wo
xh
yi
yo
za
zh_HK
zh
zh_TW
zu
2 changes: 2 additions & 0 deletions po/POTFILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/window.vala
src/Granite/Accels.vala
99 changes: 99 additions & 0 deletions po/aa.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Afar translations for com.github.writeas.writeas-gtk package.
# Copyright (C) 2019 THE com.github.writeas.writeas-gtk'S COPYRIGHT HOLDER
# This file is distributed under the same license as the com.github.writeas.writeas-gtk package.
# Automatically generated, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: com.github.writeas.writeas-gtk\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-30 18:50+0100\n"
"PO-Revision-Date: 2019-03-30 18:20+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: aa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/window.vala:41
msgid "Write.as"
msgstr ""

#: src/window.vala:56
#, c-format
msgid "%i word"
msgstr ""

#: src/window.vala:56
#, c-format
msgid "%i words"
msgstr ""

#: src/window.vala:142
msgid "Publish to Write.as on the web"
msgstr ""

#: src/window.vala:152
msgid "Light theme"
msgstr ""

#: src/window.vala:153
msgid "Dark theme"
msgstr ""

#: src/window.vala:156
msgid "Toggle light/dark theme"
msgstr ""

#: src/window.vala:170
msgid "Change document font"
msgstr ""

#: src/window.vala:175
msgid "Serif"
msgstr ""

#: src/window.vala:176
msgid "Sans-serif"
msgstr ""

#: src/window.vala:178
msgid "Monospace"
msgstr ""

#: src/window.vala:372
msgid "Save as"
msgstr ""

#: src/window.vala:385
msgid "Cancel"
msgstr ""

#: src/Granite/Accels.vala:42
msgid "Shift"
msgstr ""

#: src/Granite/Accels.vala:46
msgid "Ctrl"
msgstr ""

#: src/Granite/Accels.vala:50
msgid "Alt"
msgstr ""

#: src/Granite/Accels.vala:69
msgid "Minus"
msgstr ""

#: src/Granite/Accels.vala:74
msgid "Plus"
msgstr ""

#: src/Granite/Accels.vala:78
msgid "Enter"
msgstr ""

#: src/Granite/Accels.vala:124
msgid ", "
msgstr ""
Loading