41 Commits
Author SHA1 Message Date
Quentin Bray 6ffa63b923 Apply R# clean-up for reliability (#877)
* Apply R# clean-up for reliability

- Migrate to NUnit4 Assert.That
- Update dependencise versions
- Fix LangVersion to 9.0 (until net core migration)
- Reformat code
- Apply 'var' style (easier for refactoring)
- Remove redundant parentheses
- Add braces on every condition blocks (1 line)
- Uses new null checking patterns
- Uses AutoProperties when possible
- Uses string scalar type instead of class
- Clean usings
- Add .orig files in git ignore
- Rename some properties to respect defined conventions and US format definition
	- ID -> Id
	- BPM -> Bpm
	- Finish -> End

* Update R# settings according to the clean-up made
2026-06-22 19:52:06 +02:00
Florian Ostertagandtransifex-integration[bot] 990707d678 Transifex integration (#655)
* Add: Transifex file and renamed lang files

* Translate Vocaluxe/Website/locales/en.json in tr

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'tr'.

* Translate Vocaluxe/Website/locales/en.json in es

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'es'.

* Rename all language files to match transifex.

* Manual sync of translations

* Another manual sync of translations

* Adjust pr branch name

* Translate Output/Languages/en.xml in pt

97% of minimum 90% translated source file: 'Output/Languages/en.xml'
on 'pt'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate Output/Languages/en.xml in cs

96% of minimum 90% translated source file: 'Output/Languages/en.xml'
on 'cs'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate Output/Languages/en.xml in it

100% translated source file: 'Output/Languages/en.xml'
on 'it'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in sv

100% translated source file: 'Output/Languages/en.xml'
on 'sv'.

* Translate Output/Languages/en.xml in de

100% translated source file: 'Output/Languages/en.xml'
on 'de'.

* Translate Output/Languages/en.xml in fr

100% translated source file: 'Output/Languages/en.xml'
on 'fr'.

* Translate Vocaluxe/Website/locales/en.json in hu

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'hu'.

* Translate Vocaluxe/Website/locales/en.json in ru

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'ru'.

* Fix: Unescape String during xml reading

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Fix: Seperate handling of unescaping

* Fix: Typo

* Fix: Typo

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-12-28 20:58:13 +01:00
lukeIam c907ec0f44 Refactor logging 2018-01-16 11:57:15 +01:00
Florian Küpper 86dc259c17 Merge branch 'develop' into player-guid 2017-11-05 23:32:30 +01:00
Florian Küpper c5bfd46865 Removed outdated xml loading stuff 2017-09-02 18:00:06 +02:00
Florian Küpper e3497641dd Use GUID instead of int for player-ids; ID is now unique and saved to player.xml-file 2015-12-23 14:23:55 +01:00
Flamefire cd4c010f99 Avoid multiple comments in xml for array entries 2014-12-22 22:47:58 +01:00
Flamefire 2385f672d0 Add empty arrays to xml 2014-12-22 12:12:29 +01:00
Flamefire 3344a3562f Use new serializer for theme loading
Fix some bugs during load
2014-12-17 00:12:20 +01:00
Flamefire 26484ad137 Fix blank screen issue
Also fix some other bugs and improvements (easier party modes, volume fixes, new fields for screens to control volume and popups)
2014-11-27 21:47:02 +01:00
Flamefire 831cfd9f20 Handle missing/empty config
Make Deserializer handle default values recursively
2014-11-24 22:14:33 +01:00
Flamefire dd6b0416b6 Rename XML to lowercase Xml in classes and names for consistency 2014-11-17 19:33:48 +01:00
Flamefire 33618b4c97 Use extra class for xml exception
Add handler class for xml errors
Fix testcases
2014-11-17 19:27:43 +01:00
Flamefire 7188208b6b Add documentation 2014-10-30 19:21:28 +01:00
Flamefire 12e48d0446 Split serializer/deserializer 2014-10-30 16:49:14 +01:00
Flamefire 3928fee041 Remove old CXmlDeserializer class 2014-10-30 16:35:07 +01:00
Flamefire 0c5dcd9c74 More options to serialize dictionaries 2014-10-30 16:32:39 +01:00
Flamefire f563bae495 Allow unordered xml nodes, Ignore *Specified fields, Convert byte[] to base64 2014-10-29 01:27:48 +01:00
Flamefire 93a415205e Remove Profiles.FileName and use FilePath correctly 2014-10-27 20:02:06 +01:00
Flamefire af88bb2161 Serialize properties 2014-10-27 19:44:23 +01:00
Flamefire e982d7ee6f Serialize to/from string 2014-10-27 17:51:06 +01:00
Flamefire acaf4eadb2 Serialize Themes 2014-10-27 11:10:29 +01:00
Flamefire 6f873c9785 Include Dictionaries in serializer 2014-10-27 11:09:41 +01:00
Flamefire 99b7989c48 Make Serializer non-static to allow other underlying classes (e.g. for linux)
Allow also arrays and comments
2014-10-26 14:02:48 +01:00
Flamefire 527841b940 Implement serialization 2014-10-25 13:42:46 +02:00
Flamefire 3ff7540693 Rename class 2014-10-25 12:13:58 +02:00
Flamefire 9aa9ff9291 Implement caching and extension methods 2014-10-25 00:45:34 +02:00
Flamefire b044efe50e Add normalized attribute
Allow empty embedded lists
2014-10-24 23:46:45 +02:00
Flamefire c3affed9b1 Fix handling of nullables
Improve error handling
2014-10-24 23:08:15 +02:00
Flamefire 8ed9f56d30 Make SelText a nullable 2014-10-24 23:00:29 +02:00
Flamefire ad3f01aded Refactoring and fixes for some special cases (mostly lists) 2014-10-24 22:48:47 +02:00
Flamefire dfc4a2c1cc Implement new class for deserialization 2014-10-24 13:58:59 +02:00
Flamefire 31a9ac6afa Change struct of cover file 2014-10-24 13:52:18 +02:00
Flamefire 8ac2ab9a03 Use attributes 2014-10-23 17:30:56 +02:00
Flamefire d208f9d7b9 Reformatting
Also adds license headers
2014-10-19 18:51:14 +02:00
Flamefire 3f76d039b6 Change color representation
Allow missing ARGB values (defaults to 1)
Allow Name+ARGB to easily overwrite some values
2014-10-16 22:40:18 +02:00
Flamefire c1866c0ad5 Add checking for required elements 2014-10-10 02:03:07 +02:00
Flamefire 4efd670747 Move and Rename reading of SColorF 2014-10-09 23:27:32 +02:00
Flamefire defb2ca6c7 Rewrite Theme Engine 2014-10-08 22:29:02 +02:00
Flamefire 355d7b4b5f Merge branch 'develop' into Better_Graphics_Handling
Conflicts:
	VocaluxeLib/Menu/CNameSelection.cs
	VocaluxeLib/Menu/CPlaylist.cs
	VocaluxeLib/Menu/CText.cs
	VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs
	VocaluxeLib/Structs.cs
	VocaluxeLib/VocaluxeLib.csproj
	VocaluxeLib/Xml/CXMLReader.cs
2014-10-05 15:09:52 +02:00
Flamefire 6ebbf7df6f Introduce example for a more flexible deserialization
Also make the CoverGenerator themes serializeable
Rest is automatic reformatting.
2014-10-01 00:54:04 +02:00