From 2e4ca2f7bdc97f348f1c6530f2db6b1aa60a7aac Mon Sep 17 00:00:00 2001 From: Brage Fuglseth Date: Wed, 28 Feb 2024 22:56:21 +0100 Subject: [PATCH] chore: bump version --- ...bragefuglseth.Fretboard.metainfo.xml.in.in | 47 ++++++++++++------- meson.build | 2 +- po/be.po | 26 ++++++++-- po/cs.po | 26 ++++++++-- po/de.po | 26 ++++++++-- po/es.po | 26 ++++++++-- po/eu.po | 26 ++++++++-- po/fi.po | 26 ++++++++-- po/fretboard.pot | 25 ++++++++-- po/he.po | 26 ++++++++-- po/it.po | 26 ++++++++-- po/nb.po | 26 ++++++++-- po/nl.po | 26 ++++++++-- po/pt.po | 26 ++++++++-- po/pt_BR.po | 26 ++++++++-- po/ru_RU.po | 26 ++++++++-- po/sv.po | 26 ++++++++-- po/tr.po | 26 ++++++++-- src/chord_name_algorithm.rs | 4 -- src/window.rs | 2 - 20 files changed, 382 insertions(+), 88 deletions(-) diff --git a/data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in b/data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in index b235e3a..eef561f 100644 --- a/data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in +++ b/data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in @@ -5,12 +5,10 @@ CC0-1.0 GPL-3.0-or-later Fretboard - - Brage Fuglseth + Look up guitar chords Brage Fuglseth - Look up guitar chords

How was that chord played, again? Fretboard lets you find guitar chords @@ -24,31 +22,28 @@ Fretboard is proudly part of GNOME Circle, an initiative that champions the great software that is available for the GNOME platform. For more information, visit the GNOME Circle website.

- @gettext-package@ - - offline-only - 360 - - - pointing - keyboard - touch - + Displaying a chord https://raw.githubusercontent.com/bragefuglseth/fretboard/main/data/screenshots/screenshot-1.png + Displaying a barre chord https://raw.githubusercontent.com/bragefuglseth/fretboard/main/data/screenshots/screenshot-2.png + Showing variants of a chord https://raw.githubusercontent.com/bragefuglseth/fretboard/main/data/screenshots/screenshot-3.png + The bookmarks page https://raw.githubusercontent.com/bragefuglseth/fretboard/main/data/screenshots/screenshot-4.png - @app-id@.desktop + + #e1d0c3 + #191521 + https://apps.gnome.org/Fretboard https://github.com/bragefuglseth/fretboard/issues https://welcome.gnome.org/app/Fretboard @@ -57,10 +52,28 @@ https://matrix.to/#/@bragefuglseth:matrix.org bragefuglseth_AT_gnome.org - - [(153, 193, 241)] - + @gettext-package@ + + offline-only + 360 + + + pointing + keyboard + touch + + @app-id@.desktop + + +

This is a minor release with a few tweaks and improvements, notably:

+
    +
  • More intelligent chord recognition, so the app can identify a broader set of patterns
  • +
  • Updated translations
  • +
+

If you would like to come with suggestions, report bugs, translate the app, or contribute otherwise, feel free to reach out!

+
+

This update improves the translations of Fretboard into other languages.

diff --git a/meson.build b/meson.build index 2774868..57fe0d0 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('fretboard', 'rust', - version: '5.3', + version: '5.4', license: 'GPL-3.0-or-later', meson_version: '>= 0.62.0', ) diff --git a/po/be.po b/po/be.po index 115d8c8..7f67769 100644 --- a/po/be.po +++ b/po/be.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: fretboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-28 21:44+0100\n" +"POT-Creation-Date: 2024-02-28 22:53+0100\n" "PO-Revision-Date: 2024-01-08 22:06+0000\n" "Last-Translator: Yahor \n" "Language-Team: Belarusian \n" "Language-Team: Czech \n" "Language-Team: German \n" "Language-Team: Spanish \n" "Language-Team: Basque \n" "Language-Team: Finnish \n" "Language-Team: LANGUAGE \n" @@ -23,7 +23,7 @@ msgid "Fretboard" msgstr "" #: data/dev.bragefuglseth.Fretboard.desktop.in.in:4 -#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:13 +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:8 msgid "Look up guitar chords" msgstr "" @@ -31,7 +31,7 @@ msgstr "" msgid "guitar;chords" msgstr "" -#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:15 +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:13 msgid "" "How was that chord played, again? Fretboard lets you find guitar chords by " "typing their names or plotting them on an interactive guitar neck. When you " @@ -41,13 +41,29 @@ msgid "" "and master your favorite songs!" msgstr "" -#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:23 +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:21 msgid "" "Fretboard is proudly part of GNOME Circle, an initiative that champions the " "great software that is available for the GNOME platform. For more " "information, visit the GNOME Circle website." msgstr "" +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:27 +msgid "Displaying a chord" +msgstr "" + +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:31 +msgid "Displaying a barre chord" +msgstr "" + +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:35 +msgid "Showing variants of a chord" +msgstr "" + +#: data/dev.bragefuglseth.Fretboard.metainfo.xml.in.in:39 +msgid "The bookmarks page" +msgstr "" + #. translators: "right-handed" and "left-handed" are enum values, and should not be translated #: data/dev.bragefuglseth.Fretboard.gschema.xml:16 msgid "Can be either \"right-handed\"\" or \"left-handed\"." @@ -184,6 +200,7 @@ msgstr "" msgid "Bookmark" msgstr "" +#. translators: The text between the `{}` markers becomes a link to the app's issue tracker. Include both of the markers. #: src/window.rs:304 msgid "" "There are no chords with this name in Fretboard’s built-in chord set. If you " diff --git a/po/he.po b/po/he.po index 6bfd4dc..404c4cd 100644 --- a/po/he.po +++ b/po/he.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: fretboard\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-28 21:44+0100\n" +"POT-Creation-Date: 2024-02-28 22:53+0100\n" "PO-Revision-Date: 2023-12-31 20:06+0000\n" "Last-Translator: Yosef Or Boczko \n" "Language-Team: Hebrew \n" "Language-Team: Italian \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" "Language-Team: Portuguese \n" "Language-Team: Portuguese (Brazil) \n" "Language-Team: Russian \n" "Language-Team: Swedish \n" "Language-Team: Turkish ; 6]) -> Option { if let Some(name) = find_isolated_chord_name(¬es_without_first) { let bass_note = find_note_name(*notes.first()?); - println!("algorithm {name}/{bass_note}"); - return Some(format!("{name}/{bass_note}")); } @@ -69,8 +67,6 @@ fn find_isolated_chord_name(notes: &Vec) -> Option { .sorted() .collect(); - dbg!(&intervals); - let note_name = find_note_name(*first); // this list can be extended with more possible intervals diff --git a/src/window.rs b/src/window.rs index 57cf3f7..b037b4c 100644 --- a/src/window.rs +++ b/src/window.rs @@ -470,8 +470,6 @@ impl FretboardWindow { let name_opt = imp.database.borrow().name_from_chord(query_chord); - dbg!(&name_opt); - let name = name_opt.unwrap_or_else(|| calculate_chord_name(query_chord).unwrap_or_default());