Re: Media Wiki
Posted: Mon Jun 12, 2017 12:03 pm
Why can't translations be added in the docstrings?
Code: Select all
class WindowsVersion:
"""
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
"""
Code: Select all
class WindowsVersion:
"""
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
A convenience module for checking the windows version.
In addition to the *IsXY()* methods, you can use comparison like this:
``eg.WindowsVersion OPERATOR "KEY"``
``OPERATOR`` is one of ``<``, ``<=``, ``==``, ``!=``, ``>=``, ``>``
+-----------+--------------------------------------+
| ``KEY`` | Windows version(s) |
+===========+======================================+
| ``XP`` | *all of XP32 and XP64* |
+-----------+--------------------------------------+
| ``XP32`` | Windows XP, |
| | Windows XP 64-Bit Edition, |
| | Windows Tablet PC, |
| | Windows Media Center Edition 2002, |
| | Windows Media Center Edition 2004, |
| | Windows Media Center Edition 2005 |
+-----------+--------------------------------------+
| ``XP64`` | Windows XP Professional x64 Edition, |
| | Windows Server 2003, |
| | Windows Server 2003 R2 |
+-----------+--------------------------------------+
| ``Vista`` | Windows Vista, |
| | Windows Server 2008 |
+-----------+--------------------------------------+
| ``7`` | Windows 7, |
| | Windows Server 2008 R2 |
+-----------+--------------------------------------+
| ``8`` | *all of 80 and 81* |
+-----------+--------------------------------------+
| ``80`` | Windows 8, |
| | Windows Server 2012, |
| | Windows RT |
+-----------+--------------------------------------+
| ``81`` | Windows 8.1, |
| | Windows 2012 R2, |
| | Windows RT 8.1 |
+-----------+--------------------------------------+
| ``10`` | Windows 10, |
| | Windows Server 2016 |
+-----------+--------------------------------------+
|
.. The above line gives some extra space after the table in the helpfile.
References:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
http://www.gaijin.at/lstwinver.php
"""
I don't mind EG using an online help but I REALLY want EG to have an offline version available installed with EG.kgschlosser wrote:one of the following should happen either we deep six the offline help and go with an online one.
As long as the help button (or whatever shows the online help) clearly indicates that it uses an external browser for the help.and when help is clicked in the program then it would load up an IE window or launch the browser and set the address to the online help. or we bundle that help with EG and do not have the online variant.
I just wanted to check in on the idea we discussed about automatic backups of the Git repository and GitHub data for the EventGhost/EventGhost GitHub repository. Has that been implemented yet? If not I will open an issue on GitHub so the idea doesn't get lost in the noise of the forum.kgschlosser wrote:if for some crazy reason github goes belly up tomorrow and they shutdown all of the servers that information is lost.