Skip to content

Commit

Permalink
Merge #3481 Add Release Date column to GUI modinfo versions list
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett committed Jan 19, 2022
2 parents 068a8dd + cf2cd27 commit 76f2511
Show file tree
Hide file tree
Showing 9 changed files with 106 additions and 96 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
- [CLI] Options for ckan show to hide sections (#3461 by: HebaruSan; reviewed: DasSkelett)
- [Multiple] Show context menu on menu key press (#3446 by: HebaruSan; reviewed: DasSkelett)
- [GUI] Theme all buttons, checkboxes, groupboxes, and listboxes (#3489 by: HebaruSan; reviewed: DasSkelett)
- [GUI] Add Release Date column to GUI modinfo versions list (#3481 by: HebaruSan; reviewed: DasSkelett)

### Bugfixes

Expand Down
18 changes: 10 additions & 8 deletions GUI/Controls/AllModVersions.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion GUI/Controls/AllModVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ public GUIMod SelectedModule
ListViewItem toRet = new ListViewItem(new string[]
{
module.version.ToString(),
GameVersionRange.VersionSpan(currentInstance.game, minKsp, maxKsp)
GameVersionRange.VersionSpan(currentInstance.game, minKsp, maxKsp),
module.release_date?.ToString("g") ?? ""
})
{
Tag = module
Expand Down
5 changes: 3 additions & 2 deletions GUI/Controls/AllModVersions.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="label1.Text" xml:space="preserve"><value>All available versions of selected mod</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Mod Version</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Compatible Game Versions</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Mod version</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Game versions</value></data>
<data name="ReleaseDate.Text" xml:space="preserve"><value>Release date</value></data>
<data name="label2.Text" xml:space="preserve"><value>Green</value></data>
<data name="label3.Text" xml:space="preserve"><value>Light green</value></data>
<data name="label4.Text" xml:space="preserve"><value>Bold</value></data>
Expand Down
3 changes: 2 additions & 1 deletion GUI/Localization/de-DE/AllModVersions.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
</resheader>
<data name="label1.Text" xml:space="preserve"><value>Alle verfügbaren Versionen der ausgewählten Mod</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Mod-Version</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Kompatible Spielversionen</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Spielversionen</value></data>
<data name="ReleaseDate.Text" xml:space="preserve"><value>Veröffentlichungsdatum</value></data>
<data name="label2.Text" xml:space="preserve"><value>Grün</value></data>
<data name="label3.Text" xml:space="preserve"><value>Hellgrün</value></data>
<data name="label4.Text" xml:space="preserve"><value>Fett</value></data>
Expand Down
57 changes: 29 additions & 28 deletions GUI/Localization/fr-FR/AllModVersions.fr-FR.resx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
Expand All @@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
Expand Down Expand Up @@ -119,7 +119,8 @@
</resheader>
<data name="label1.Text" xml:space="preserve"><value>Toutes les versions disponibles du mod sélectionné</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Version du Mod</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Versions de Jeu Compatibles</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Versions de Jeu</value></data>
<data name="ReleaseDate.Text" xml:space="preserve"><value>Date de publication</value></data>
<data name="label2.Text" xml:space="preserve"><value>Vert</value></data>
<data name="label3.Text" xml:space="preserve"><value>Vert Clair</value></data>
<data name="label4.Text" xml:space="preserve"><value>Gras</value></data>
Expand Down
1 change: 1 addition & 0 deletions GUI/Localization/ja-JP/AllModVersions.ja-JP.resx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
<data name="label1.Text" xml:space="preserve"><value>このModの全てのバージョン</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Modのバージョン</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>対応するゲームのバージョン</value></data>
<data name="ReleaseDate.Text" xml:space="preserve"><value>リリース日時</value></data>
<data name="label2.Text" xml:space="preserve"><value>緑</value></data>
<data name="label3.Text" xml:space="preserve"><value>黄緑</value></data>
<data name="label4.Text" xml:space="preserve"><value>太字</value></data>
Expand Down
57 changes: 29 additions & 28 deletions GUI/Localization/pt-BR/AllModVersions.pt-BR.resx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
Expand All @@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
Expand Down Expand Up @@ -119,7 +119,8 @@
</resheader>
<data name="label1.Text" xml:space="preserve"><value>Todas as versões disponíveis do mod selecionado</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Versão do mod</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Versões do jogo compatíveis</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Versões do jogo</value></data>
<data name="ReleaseDate.Text" xml:space="preserve"><value>Data do lançamento</value></data>
<data name="label2.Text" xml:space="preserve"><value>Verde</value></data>
<data name="label3.Text" xml:space="preserve"><value>Verde claro</value></data>
<data name="label4.Text" xml:space="preserve"><value>Negrito</value></data>
Expand Down
57 changes: 29 additions & 28 deletions GUI/Localization/ru-RU/AllModVersions.ru-RU.resx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
Expand All @@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
Expand Down Expand Up @@ -119,7 +119,8 @@
</resheader>
<data name="label1.Text" xml:space="preserve"><value>Все доступные версии выбранной модификации</value></data>
<data name="ModVersion.Text" xml:space="preserve"><value>Версия</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>Совместимые версии игры</value></data>
<data name="CompatibleGameVersion.Text" xml:space="preserve"><value>версии игры</value></data>
<data name="ReleaseDate.Text" xml:space="preserve"><value>Дата выпуска</value></data>
<data name="label2.Text" xml:space="preserve"><value>Зелёный</value></data>
<data name="label3.Text" xml:space="preserve"><value>Св.-зел.</value></data>
<data name="label4.Text" xml:space="preserve"><value>Жирный</value></data>
Expand Down

0 comments on commit 76f2511

Please sign in to comment.