LMMS / LMMS/lmms

Centralize abbreviations

Open
#3,035 1 comment 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

We should keep abbreviations in a header and turn instances such as `tr( "Amt" )` into `ABBR( Amount )`. The header would look like:

``` c++
#define ABBR_Amount "AMT"
#define ABBR( str ) tr( ABBR_ ## str )
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the C++ sources for abbreviation translations such as `tr( "Amt" )` and determine which header should contain the shared definitions. Centralize the abbreviations using the proposed `ABBR_...` and `ABBR(...)` pattern, then verify that the affected instances use the centralized names.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
localization
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.