1
2
Fork
You've already forked tally
0
  • Lua 89.4%
  • C 6.9%
  • Makefile 3.7%
Victoria Lacroix a009a9be90 tally: Redo the "No Matches" page logic
Previously, some hacky bespoke logic was being used to show a status page when no tallies matched the given search query. This commit instead changes the app to use the Gtk.ListBox:set_placeholder() function to show an appropriate status page. For consistency with previous versions (as well as for GNOME HIG consistency), CSS classes are swapped around so that the placeholder status page looks like an ordinary status page instead of a child element to the counter list.
Fixes #22 
2026年07月06日 12:29:22 -04:00
.github/workflows Adds a CI workflow 2026年01月28日 10:08:13 -05:00
data main: incorporate some Circle feedback 2026年03月24日 10:58:39 -04:00
icons Enhance the icon 2025年04月28日 10:06:11 -04:00
po Tweak a few things 2025年12月17日 08:55:06 -05:00
.gitignore Add translator credits 2025年06月22日 09:43:32 -04:00
ca.vlacroix.Tally.desktop Add "tally" keyword to Italian keywords 2025年11月07日 15:08:27 -05:00
ca.vlacroix.Tally.Devel.desktop 0.7.2 2025年11月07日 15:24:41 -05:00
ca.vlacroix.Tally.Devel.json flatpak: Update runtime and dependency versions 2026年04月12日 15:19:47 -04:00
ca.vlacroix.Tally.metainfo.xml metainfo: Fix urls to vtrlx.ca 2026年06月29日 13:29:53 -04:00
COPYING Licenses the code under GPLv3+ 2024年09月16日 08:17:44 -04:00
counter.lua counter: fix selection mode not working 2026年06月29日 13:29:53 -04:00
main.c Use #embed instead of linker hack 2025年10月01日 15:09:15 -04:00
main.lua tally: Redo the "No Matches" page logic 2026年07月06日 12:29:22 -04:00
Makefile makefile: Fix build 2026年04月12日 18:21:13 -04:00
README.md docs: Point links to codeberg.org 2026年04月12日 16:42:00 -04:00
tally.doap docs: Point links to codeberg.org 2026年04月12日 16:42:00 -04:00
tally.png Update app image 2025年06月25日 11:36:10 -04:00

tally

Tally

Count anything.

This application is a tally counter for the GNOME desktop on Linux.

Installing

Get it on Flathub

Contributing

When interacting with this project, please follow the GNOME Code of Conduct.

Issues with the app can be reported on Codeberg.

Code submissions may be done as Pull Requests on GitHub.

Please do not spam this repository with ChatGPT, Copilot, or similar software.

Building

To compile and run Tally from source, use Flatpak Builder.

flatpak-builder .build ca.vlacroix.Tally.Devel.json --user --install --force-clean
flatpak run ca.vlacroix.Tally.Devel

Localization

Tally uses gettext for localization. These instructions assume you have it installed on your system.

To create a message file for your desired language, execute this command in a terminal from Tally's root folder:

make po/<LANG>.po

<LANG> should be replaced by the two-letter language code for the language you're translating the app to, optionally followed by an underscore _ character and a two-letter country code in ALL-CAPS i.e. fr for French or fr_CA for Canadian French.

This command creates a file in the po/ folder named <LANG>.po.

Next, edit the <LANG>.po file and add your translated strings. I recommend using Translation Editor for this.

The last strings to localize are for the ca.vlacroix.Tally.desktop and ca.vlacroix.Tally.Devel.desktop files. Add new lines for the Comment, Keywords, and (if applicable) Name keys. Be sure to keep the translated lines in alphabetical order with respect to the language codes.

Once finished, try running Tally in your language using the testing instructions above. If all the strings appear to have been translated, commit your finished <LANG>.po file to Git, push the commit to a branch under your control, and submit a pull request on GitHub.

Updating a Localization

If the application is updated and the translation needs to be changed, again run this command in the project's root folder:

make po/<LANG>.po

This will update the given .po file with the new translatable strings. The updated .po file for your language may then be modified, committed, and put into a pull request as usual.