Bond_009
1c14c86b20
Fix some warnings
3 years ago
cvium
76c2775d8c
Use static lambdas
3 years ago
WWWesten
17a273d237
Update LocalizationManager.cs ( #6839 )
3 years ago
WWWesten
967fd66ca9
Update LocalizationManager.cs
3 years ago
WWWesten
a229526454
Update LocalizationManager.cs
3 years ago
Bond_009
19824bff94
Minor improvements
3 years ago
David Ullmer
45e0f7893b
Merge remote-tracking branch 'upstream/master' into localization-test
3 years ago
David Ullmer
b5880c2680
Minor improvements
3 years ago
David Ullmer
6b61b50b53
Revert "Refactor LocalizationManager and remove dead method"
...
This reverts commit db2b53a4b5
.
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
David Ullmer
db2b53a4b5
Refactor LocalizationManager and remove dead method
4 years ago
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
David
043d045448
Put json serializer options in private field
4 years ago
David
f38970cbd3
Remove xml docs
4 years ago
David
196388d607
Remove custom Json serializer from Emby.Server.Implementations
4 years ago
hoanghuy309
f363d8afd5
Update LocalizationManager.cs
4 years ago
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
Mark Monteiro
5d648bf54f
Register and construct ILocalizationManager correctly
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond_009
c699c546e4
Improve LocalizationManager
5 years ago
Bond-009
bf43dc00bb
More warning fixes
6 years ago
Bond-009
04db0369d4
Update LocalizationManager.cs
6 years ago
Bond-009
0419deeec4
Update LocalizationManager.cs
6 years ago
Bond-009
ed07ed44ae
Simplify rating loading
6 years ago
Claus Vium
ce03662fa7
Add error logging when translation is missing from core
6 years ago
Claus Vium
49923e50db
Remove missing languages from localization options
6 years ago
Claus Vium
c3c52b6682
Default to en-US for missing core translations
6 years ago
Bond_009
ae5514afd6
Fix loading of rating files
6 years ago
Joshua M. Boniface
56dcc45dc0
Merge pull request #732 from Bond-009/locale
...
Reworked LocalizationManager to load data async
6 years ago
Bond_009
cabb824f2a
Fix build error
6 years ago
Bond-009
2a1f6361a5
Merge branch 'master' into locale
6 years ago
Bond-009
1ea219bf3f
Merge branch 'master' into culture
6 years ago
Vasily
055e43eda7
Update Emby.Server.Implementations/Localization/LocalizationManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Bond_009
51edd5d067
Reworked LocalizationManager to load data async
6 years ago
Bond_009
eaa6cb0ddc
Fix a spelling mistake
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
39ef1106d7
Visual Studio Reformat: Emby.Server.Implementations Part Liv-P
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago