Centralize abbreviations
Open
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