-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved defaults in defaults.go to setting.go #5764
Conversation
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #5764 +/- ##
==========================================
+ Coverage 37.72% 37.73% +0.01%
==========================================
Files 327 327
Lines 47818 47824 +6
==========================================
+ Hits 18037 18047 +10
+ Misses 27188 27184 -4
Partials 2593 2593
Continue to review full report at Codecov.
|
¯_(ツ)_/¯ |
Hmm this looks like it's a nice simple fix but I don't know enough about our infrastructure - is it possible that our crowdin script or another script uses the defaults.go? @tboerger do you know if any of our infrastructure (ab)uses this file? |
They are anyway not exported, they are not used anywhere else than this package. |
I meant is there a dirty bash script out there that will "parse" the defaults file and update its values. |
I have not introduced something hacky like that. |
Cool. Wasn't accusing, just aware that sometimes the most expedient and easiest option is to write scripts that generate or read code in other languages. Then we can probably just approve this PR. |
BTW Is the capitalisation is an indication that the language's translation is (in)complete? |
We should probably actually autogenerate the list of translations available by looking at the language translation configuration files available. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take defaultThemes
back.
@lunny
|
Haha... Sorry my bad 😂. I could have sworn I used it somewhere |
As titled, I moved the few defaults in
defaults.go
tosetting.go
and removeddefaults.go
since it was then unused.