Am Sonntag, den 03.05.2020, 02:12 +0200 schrieb Richard Kimberly Heck:
> diff --git a/src/insets/InsetCounter.cpp
> b/src/insets/InsetCounter.cpp
> 
> index 32f7c64..a6e4d0d 100644
> 
> --- a/src/insets/InsetCounter.cpp
> 
> +++ b/src/insets/InsetCounter.cpp
> 
> @@ -60,12 +60,11 @@ InsetCounter::InsetCounter(InsetCounter const &
> ir)
> 
>  
> 
>  const map<string, string> InsetCounter::counterTable =
> 
>  {
> 
> -       {"set", N_("Set Counter")},
> 
> -       {"addto", N_("Add To Counter")},
> 
> -       {"reset", N_("Reset To 0")},
> 
> +       {"set", N_("Set Counter To")},
> 
> +       {"addto", N_("Increase Counter By")},
> 
> +       {"reset", N_("Reset Counter To 0")},
> 
>         {"save", N_("Save Value of Counter")},
> 
>         {"restore", N_("Restore Value of Counter")},
> 
> -       {"value", N_("Display Value of Counter")}
> 
>  };

Alas, this is still sorted alphabetically by keyword, probably since
you use a map.

Maybe use an enum rather than string keywords?

(Also the counters should be sorted alphabetically by [localized] GUIstring 
rather than by key) 

Jürgen

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to