Skip to content

Commit

Permalink
feat: Add Swedish translation (#280)
Browse files Browse the repository at this point in the history
Add Swedish translation to the `arch-update` CLI, libraries and systray icon's menus.

---------

Co-authored-by: Robin Candau <[email protected]>
  • Loading branch information
bittin and Antiz96 authored Nov 19, 2024
1 parent e8f11a0 commit bad989a
Show file tree
Hide file tree
Showing 2 changed files with 785 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ install:
# Generate and install .mo files for translations
# .mo files are installed as "Arch-Update.mo" to avoid conflicting with the "arch-update.mo" files shipped by the arch-update Gnome extension (https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/)
msgfmt po/fr.po -o po/fr.mo
msgfmt po/sv.po -o po/sv.mo
install -Dm 644 po/fr.mo "${DESTDIR}${PREFIX}/share/locale/fr/LC_MESSAGES/${_pkgname}.mo"
install -Dm 644 po/sv.mo "${DESTDIR}${PREFIX}/share/locale/sv/LC_MESSAGES/${_pkgname}.mo"
rm -f po/fr.mo
rm -f po/sv.mo

# Install shell completions
install -Dm 644 "res/completions/${pkgname}.bash" "${DESTDIR}${PREFIX}/share/bash-completion/completions/${pkgname}"
Expand Down
Loading

0 comments on commit bad989a

Please sign in to comment.