Code Monkey home page Code Monkey logo

galternatives's Introduction

Note: GitHub mirror is also available for forking/PR/translating.

G Alternatives is a tool that provides a simple GUI interface for update-alternatives, allowing system administrator to select which programs provide specific services for the user by default. Some advanced features are also provided, including adding/removing/editing alternative groups/options or managing a custom database directory.

Python 3 required. It's intended to be installed via apt install galternatives, but for those who don't like to install, the tarball (python3 -m galternatives) should also work.

Any question or enhancement is welcomed. Please send your feedback to package maintainers of galternatives package in Debian or submit bugs onto Debian Bug Tracking System (BTS) using reportbug tool in Debian.

Requirements

Gtk+ >= 3.10
python3
python3-gi
gettext (for i18n support)

Packaging repository

License

GPL-1+ for the whole project. See LICENSE.GPL-1, LICENSE.GPL-2 and LICENSE.GPL-3 for full license text. GPL-2 is chosen as the representative (LICENSE file).

galternatives's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

galternatives's Issues

Description on alternative name

Currently the latest stable version provides a strange way to supply a short description on the alternative name by using an almost-vaild .desktop file. However after some searches I can't find any more of such files nor descriptions. So I'd suggest:

  • provide more descriptions using the old way
  • provide more descriptions directly using gettext
  • remove the description feature at all (since it's quite a huge task)
    Which one do you perfer?

Review i18n/l10n workflow

We need to sort out the i18n/l10n workflow.

  • .glade files contains some strings that need translation. (perhaps we need xgettext?)
  • .py module needs translation.

We should write some scripts / Makefile targets / update current scripts to make sure things go on smoothly.

zh_CN.po and zh_TW.po have problem with {2} {4}

zh_CN.po and zh_TW.po have a problem with these translations where it says 3 and 2 in the source but 2 and 4 in the translations (4 does not exists in the source string).

Maybe someone who knows chinese can fix it.

zh_CN.po:

#: ../../galternatives/description.py:140
#, python-brace-format
msgid "Install option `{3}' for group `{2}'"
msgstr "为组`{2}'安装选项 {4}"

zh_TW.po:

#: ../../galternatives/description.py:140
#, python-brace-format
msgid "Install option `{3}' for group `{2}'"
msgstr "為組`{2}'安裝選項 {4}"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.