Commit 0db9ee42 authored by Michael Terry's avatar Michael Terry

Rename and reorganize help po files

This will hopefully make them translatable in Launchpad again.
parent 24ca9a0c
......@@ -16,21 +16,26 @@
# You should have received a copy of the GNU General Public License
# along with Déjà Dup. If not, see <http://www.gnu.org/licenses/>.
.PHONY: all
all: configure
ninja -C builddir
%:
@[ "$@" = "Makefile" ] || ninja -C builddir $@
.PHONY: configure
configure:
@[ -f builddir/build.ninja ] || meson -Dprofile=Devel builddir
.PHONY: check
check: all
LC_ALL=C.UTF-8 meson test -C builddir
clean distclean:
.PHONY: clean
clean:
rm -rf builddir parts stage prime *.snap
.PHONY: screenshots
screenshots: all
@gsettings set org.gnome.desktop.interface font-name 'Cantarell 11'
@gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita'
......@@ -58,10 +63,12 @@ screenshots: all
@eog data/appdata
.PHONY: pot
pot: configure
ninja -C builddir deja-dup-pot help-org.gnome.DejaDup-pot
ninja -C builddir deja-dup-pot help-deja-dup-pot
copy-po: pot
.PHONY: translations
translations: pot
mkdir -p builddir
rm -r builddir/translations
bzr co --lightweight lp:~mterry/deja-dup/translations builddir/translations
......@@ -73,9 +80,11 @@ copy-po: pot
git add po/*.po
git add deja-dup/help/*/*.po
.PHONY: deb
deb:
DEB_BUILD_OPTIONS=nocheck debuild
.PHONY: flatpak
flatpak:
flatpak-builder --repo=$(HOME)/repo \
--force-clean \
......@@ -84,9 +93,8 @@ flatpak:
flatpak/org.gnome.DejaDupDevel.yaml
flatpak update --user -y org.gnome.DejaDupDevel
.PHONY: snap
snap:
rm -f *.snap
snapcraft snap
snap install ./*.snap --dangerous --classic
.PHONY: configure clean all copy-po check screenshots flatpak snap
snap install ./*.snap --classic --dangerous
The meson yelp tooling assumes translation files and translated figure images
are in locale subdirectories.
The Launchpad translation system assumes po and pot files are in the same
directory.
So our solution is to have them all in the same directory. But we use a symlink
inside subdirectories as well, to trick meson.
This diff is collapsed.
../ar.po
\ No newline at end of file
This diff is collapsed.
../bg.po
\ No newline at end of file
This diff is collapsed.
../bs.po
\ No newline at end of file
This diff is collapsed.
../ca.po
\ No newline at end of file
This diff is collapsed.
../cs.po
\ No newline at end of file
This diff is collapsed.
../da.po
\ No newline at end of file
This diff is collapsed.
../de.po
\ No newline at end of file
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2019-01-16 18:57-0500\n"
"POT-Creation-Date: 2019-02-17 22:31-0500\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"
......
This diff is collapsed.
../el.po
\ No newline at end of file
This diff is collapsed.
../en_AU.po
\ No newline at end of file
This diff is collapsed.
../en_GB.po
\ No newline at end of file
This diff is collapsed.
../eo.po
\ No newline at end of file
This diff is collapsed.
../es.po
\ No newline at end of file
This diff is collapsed.
../eu.po
\ No newline at end of file
This diff is collapsed.
../fi.po
\ No newline at end of file
This diff is collapsed.
../fr.po
\ No newline at end of file
This diff is collapsed.
../gl.po
\ No newline at end of file
This diff is collapsed.
../he.po
\ No newline at end of file
This diff is collapsed.
../hr.po
\ No newline at end of file
This diff is collapsed.
../hu.po
\ No newline at end of file
This diff is collapsed.
../id.po
\ No newline at end of file
This diff is collapsed.
../it.po
\ No newline at end of file
This diff is collapsed.
../ja.po
\ No newline at end of file
This diff is collapsed.
../ko.po
\ No newline at end of file
This diff is collapsed.
../ku.po
\ No newline at end of file
This diff is collapsed.
../lt.po
\ No newline at end of file
......@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with Déjà Dup. If not, see <http://www.gnu.org/licenses/>.
gnome.yelp(application_id,
gnome.yelp(meson.project_name(),
sources: ['backup-auto.page',
'backup-first.page',
'contribute.page',
......
This diff is collapsed.
../my.po
\ No newline at end of file
This diff is collapsed.
../nb.po
\ No newline at end of file
This diff is collapsed.
../nl.po
\ No newline at end of file
This diff is collapsed.
../oc.po
\ No newline at end of file
This diff is collapsed.
../pa.po
\ No newline at end of file
This diff is collapsed.
../pl.po
\ No newline at end of file
This diff is collapsed.
../ps.po
\ No newline at end of file
This diff is collapsed.
../pt_BR.po
\ No newline at end of file
This diff is collapsed.
../ru.po
\ No newline at end of file
This diff is collapsed.
../sk.po
\ No newline at end of file
This diff is collapsed.
../sl.po
\ No newline at end of file
This diff is collapsed.
../sr.po
\ No newline at end of file
This diff is collapsed.
../sv.po
\ No newline at end of file
This diff is collapsed.
../th.po
\ No newline at end of file
This diff is collapsed.
../tr.po
\ No newline at end of file
This diff is collapsed.
../vi.po
\ No newline at end of file
This diff is collapsed.
../zh_CN.po
\ No newline at end of file
This diff is collapsed.
../zh_TW.po
\ No newline at end of file
......@@ -278,7 +278,7 @@ public class DejaDupApp : Gtk.Application
{
unowned List<Gtk.Window> list = get_windows();
DejaDup.show_uri(list == null ? null : list.data,
"help:" + Config.APPLICATION_ID);
"help:" + Config.PACKAGE);
}
void about()
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment