From 0705d659b98751d0c847aedd74bc6affbb15f844 Mon Sep 17 00:00:00 2001 From: tduva Date: Tue, 14 Jan 2020 08:54:27 +0100 Subject: [PATCH] v0.11 files, update localization info --- help/help-about.html | 22 +- help/help-custom_commands.html | 17 +- help/help-guide2.html | 8 +- help/help-guide_folders.html | 16 + help/help-laf.html | 524 ++++++++++++++++++++++++++++++++ help/help-memory_usage.html | 2 +- help/help-releases.html | 76 ++++- help/help-setting_commands.html | 33 +- help/help-settings.html | 71 +++-- help/help.html | 14 +- help/style.css | 15 +- index.html | 18 +- localization.html | 22 +- 13 files changed, 748 insertions(+), 90 deletions(-) create mode 100644 help/help-laf.html diff --git a/help/help-about.html b/help/help-about.html index b9b8dc7..7cd240c 100644 --- a/help/help-about.html +++ b/help/help-about.html @@ -11,7 +11,7 @@
 
-Copyright (C) 2017-2018  tduva and contributors
+Copyright (C) 2017-2020  tduva and contributors
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -33,15 +33,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
Libraries

Images / Other resources

@@ -50,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.LGPL.
  • Several Icons from the Tango Icon Theme (Public Domain).
  • -
  • Edit Icon (Pencil Image), Ok Icon (Green Arrow), Invalid Icon (Cross) from NUVOLA ICON THEME for KDE 3.x by David Vignoni +
  • Several Icons from the NUVOLA ICON THEME for KDE 3.x by David Vignoni under LGPL.
  • Robot Icon by Yusuke Kamiyamane under CC-BY 3.0.
  • Emoji: @@ -79,6 +78,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
  • Thanks to Nightdev for allowing the use of the BetterTTV emotes.
  • +
  • Thanks to users providing good bug reports and giving feedback.
  • Other License Information

    diff --git a/help/help-custom_commands.html b/help/help-custom_commands.html index 5cc2256..24e59de 100644 --- a/help/help-custom_commands.html +++ b/help/help-custom_commands.html @@ -9,6 +9,9 @@

    Under Settings - Commands you can add Custom Commands and customize some Context Menus (and the User Info Dialog) with your own entries.

    +

    Check out YouTube + for various video tutorials.

    + -

    Settings with a slightly darker background color - are settings that are not available in the Settings Dialog and can only be +

    Some settings are not available in the Settings Dialog and can only be changed via commands (and sometimes also commandline options). Settings with a lighter color can't (or are not recommended to) be changed via setting commands, but are added to the list because their value can be @@ -78,8 +77,8 @@ Copy Messages | Open URL Command

    - - +
    + @@ -155,7 +154,7 @@
    Setting Type Values

    Look and Feel

    - +
    @@ -187,7 +186,7 @@ + JTattoo Theme properties.
    Setting TypeTheme properties empty This setting can be used to directly set your own - JTattoo Theme properties.

    Note: You may need to restart Chatty for Look and Feel @@ -195,7 +194,7 @@

    Font

    - +
    @@ -255,7 +254,7 @@ versions before 0.7.3).

    Time Dr. Freeman..

    -
    Setting Type
    +
    @@ -293,7 +292,7 @@

    Server/Connection Settings

    -
    Setting Type
    +
    @@ -381,7 +380,7 @@
    Setting Type

    Chat

    - +
    @@ -415,7 +414,7 @@
    Setting Type

    Window

    - +
    @@ -455,7 +454,7 @@
    Setting Type

    Stream Chat

    - +
    @@ -498,7 +497,7 @@
    Setting Type

    Stream Highlights

    - +
    @@ -535,7 +534,7 @@

    Debugging

    -
    Setting Type
    +
    @@ -559,7 +558,7 @@
    Setting Type

    Bot Badges

    - +
    @@ -597,7 +596,7 @@

    Copy Messages

    This can automatically copy all incoming messages into the clipboard.

    -
    Setting Type
    +
    @@ -639,7 +638,7 @@

    Open URL Command

    -
    Setting Type
    +
    diff --git a/help/help-settings.html b/help/help-settings.html index 9c9ccae..a0e6165 100644 --- a/help/help-settings.html +++ b/help/help-settings.html @@ -57,6 +57,9 @@ Favorites/History dialog. +

    Directory

    +
    More information: Settings and other files
    +

    Look [back to menu] @@ -174,20 +177,15 @@ -

    Custom Usericons

    +

    Custom Badges

    Add entries to the table to show additional icons (Addon-Type) or replace the default icons (all other Types).

    The order of the entries can matter, they are looked at from the top:

    @@ -201,7 +199,7 @@ matches is used. -

    Custom Usericon Properties

    +

    Custom Badges Properties

    Type
    A type of Addon will add an additional badge. All @@ -301,7 +299,7 @@ you can specify the new badge id/version yourself.
    Note: The order of Addon-badges relative to eachother is - determined by the order they are added to the Custom Usericon table.
    + determined by the order they are added to the Custom Badges table.
    Image File
    The image to use. Must be a .png and is recommended to @@ -313,7 +311,7 @@ it and rescan to update the list.
    The special image file name $default will use the default image file, that would be shown without defining - Custom Usericons. This can be useful if you e.g. want to replace all + Custom Badges. This can be useful if you e.g. want to replace all Badge Types, except for one, so you can define that one to use the default.
    Tip: You should also be able to manually enter the full @@ -765,6 +763,10 @@ the search text to modify the matching behaviour: [text-prefix:]<search text>

      +
    • text: is the same as without a prefix, but can be useful + to make sure the text isn't interpreted as a prefix, for example + text:start:Let's go would match start:Let's go + anywhere in the message (case insensitive).
    • cs: makes it case-sensitive, so cs:test matches test but not Test.
    • w: matches at word boundaries, e.g. w:anna @@ -801,6 +803,19 @@
    +

    All Text Matching Prefixes can be inverted (matches when it doesn't find + the search text) by prepending an exclamation mark, for example: !start:!bet all. + See the blacklist: Prefix description + for further information on the differences between blacklisting and + negated matches.

    + +

    Additionally, several Text Matching Prefixes can be specified by prepending + a plus sign. In this case the value cannot contain spaces or must be + quoted. Example: +!start:"!bet all" regi:Regular search text

    + +

    Only the main search text (no prefix or using any of the non-modified + Text Matching Prefixes) will mark Highlight matches in chat.

    +

    Meta Prefixes (Matching)

    The following prefixes don't match on the text itself, but define other things that should or should not trigger a Highlight. You can place one @@ -817,14 +832,13 @@

  • Prefixes can normally not contain spaces (it wouldn't be clear whether the space is part of the prefix value or a separator between prefixes), however you can enclose the prefix value (or part of it) - in quotes or escape each space with a backlash. Example: - replacement:"text with space" or - replacement:text\ with\ space
  • -
  • Quotes and backslashes have to be escaped when intended to be used literally (\" or \\).
  • + in quotes. Two quotes can be used to add a literal quote. Example: + replacement:"text with ""space""" (meaning + the value is text with "space")
  • When a prefix can have several values, they must be comma-separated (without spaces). Example: cat:category1,category2. - Commas in list values can be quoted or escaped as well for them to - be used literally instead of as a separator.
  • + Commas in list values can be quoted as well for them to be used + literally instead of as a separator.

    Possible matching prefixes:

    @@ -897,8 +911,27 @@ specified in the same config: prefix, only one has to match), prefix value with reg: to use regex matching on the value. +
  • config:url - Message must contain a URL (same + as what is made clickable)
  • +
  • blacklist: to specify one or more text patterns + (separated by comma) that will prevent the overall match if they + encompass the entire text match. Example: blacklist:"!bet all" start:!bet + will match all messages starting with !bet but will not + match !bet all. Can use any regular Text Matching Prefix.

    + This is of course similiar to using a negated text match, like + +!text:"!bet all" start:!bet, however the blacklist is + "passive", so while +!text:"!bet all" will match only + if !bet all is not present anywhere, blacklist:"!bet all" + (by itself) will always match because it is not actually + a requirement itself, it just modifies text matching requirements, + so technicially there is no requirement for a match.

    + Additionally, a negated match like +!text:!cheesecake reg:^!\w+ + will prevent the match if !cheesecake appears anywhere + in the message, while blacklist:!cheesecake reg:^!\w+ + will only prevent the match when it fully encompasses the regular + text match, so only when the message starts with !cheesecake.
  • Meta Prefixes (Behaviour)

    @@ -907,7 +940,7 @@ prefixes before the search text (separated by spaces): [meta-prefix:value] [..] [text-prefix:]<search text>

    -

    See Meta Prefixes (Matching) for quoting/escaping.

    +

    See Meta Prefixes (Matching) notes for quoting special characters.

    • color: to specify a color other than the default diff --git a/help/help.html b/help/help.html index ecb277c..be48b04 100644 --- a/help/help.html +++ b/help/help.html @@ -5,7 +5,7 @@ -

      Chatty (Version: 0.10)

      +

      Chatty (Version: 0.11)

    Setting Type
    @@ -195,7 +195,7 @@ function getDownloads(tag) {
    @@ -344,8 +344,18 @@ /follow and /unfollow commands.
    Your Subscriptions
    -
    Enables more accurate display or your emotes (for "Extra - Emotes +
    Enables more accurate display of your emotes (for "Extra - Emotes Dialog", TAB Completion and when sending a message).
    + +
    Moderate Channel
    +
    Required to receive moderator actions in channels you are a moderator, + which show under "Extra - Moderation Log", show which mod performed + an action in chat and shows messages caught by AutoMod (depending + on settings under "Main - Settings - Moderation").
    + +
    Points Redemptions
    +
    Enables more accurate display of Channel Points Redemptions in your + channel.

    Once requested from Twitch, the login data is stored locally on your diff --git a/help/style.css b/help/style.css index ad1d749..2f22dc0 100644 --- a/help/style.css +++ b/help/style.css @@ -67,24 +67,25 @@ td { } table.settings { - border-collapse: collapse; margin-top: 10px; + background-color: #BBBBBB; } table.settings td { - padding: 3px; + padding: 4px; margin: 0; - border: 1px solid #DDDDDD; + border: 0; + background-color: #FDFDFD; } table.settings th { - padding: 0; + padding: 4px; margin: 0; - border-bottom: 1px solid #000; + background-color: #EDEDED; } .setting { font-family: monospace; } -.settingExclusive { - background-color: #EEEEEE; +table.settings tr.settingExclusive td { + } .settingNoCommandEdit { color: #999999; diff --git a/index.html b/index.html index 64ade87..1bbd480 100644 --- a/index.html +++ b/index.html @@ -16,9 +16,9 @@ function loaded() { { ceiling: null, text: "$years years ago" } ] } - document.getElementById("ago").innerHTML = "Version 0.10 released "+humanized_time_span("2019/10/07", Date(), custom_date_formats)+""; + document.getElementById("ago").innerHTML = "Version 0.11 released "+humanized_time_span("2020/01/14", Date(), custom_date_formats)+""; - getDownloads("v0.10"); + getDownloads("v0.11"); slideshow_init("slideshow"); } @@ -157,7 +157,7 @@ function getDownloads(tag) {

    Download

    -

    Choose one of the following downloads of Chatty Version 0.10. For older versions or betas go to the GitHub Releases.

    +

    Choose one of the following downloads of Chatty Version 0.11. For older versions or betas go to the GitHub Releases.

    If this is your first time using Chatty check out the Getting Started Guide.

    Windows

    @@ -169,11 +169,11 @@ function getDownloads(tag) {
    -
    Download Windows Standalone (Installer) Recommended
    +
    Download Windows Standalone (Installer) Recommended
    Install into a folder of your choice and start Chatty.exe (or optionally created shortcuts).
    -
    Download Windows Standalone (.zip)
    +
    Download Windows Standalone (.zip)
    Extract the .zip into a folder of your choice and start Chatty.exe.
    @@ -181,13 +181,13 @@ function getDownloads(tag) {
    -
    Download JAR-Version (Installer)
    +
    Download JAR-Version (Installer)
    Can select global hotkey support during installation.
    Install into a folder of your choice and start Chatty.jar (or optionally created shortcuts).
    -
    Download JAR-Version (.zip)
    -
    Also available with global hotkey support for 32bit-Java / 64bit-Java
    +
    Download JAR-Version (.zip)
    +
    Also available with global hotkey support for 32bit-Java / 64bit-Java
    Extract the .zip into a folder of your choice and start Chatty.jar.

    Non-Windows

    -

    For OS other than Windows (e.g. Linux or MacOS) you will need to download the JAR-Version (.zip) and must have Java 8 or later installed on your system. Extract the .zip into a folder of your choice and start Chatty.jar.

    +

    For OS other than Windows (e.g. Linux or MacOS) you will need to download the JAR-Version (.zip) and must have Java 8 or later installed on your system. Extract the .zip into a folder of your choice and start Chatty.jar.

    Contact

    If you have any feedback or questions feel free to contact me. You can join the Chatty Discord preferred, write me an E-Mail or use Twitter.

    diff --git a/localization.html b/localization.html index 4b304ad..18aa9b8 100644 --- a/localization.html +++ b/localization.html @@ -97,24 +97,22 @@ -
    - - -
    -
    -

    Translate Chatty to main page

    +

    Translate Chatty to main page

    Parts of Chatty can be translated into different languages, and you can help!

    Getting started

    -

    Join the localization project and tell me the account name you used so I can approve it. The best way is via #localization on Discord, but you can also send a mail. If the language you want to work on hasn't been added yet, tell me.

    +
      +
    1. Join the localization project
    2. +
    3. Tell me the account name you used so I can approve it. The best way is via #localization on Discord, but you can also send a mail.
    4. +
    +

    Note: If the language you want to work on hasn't been added yet, tell me, then proceed with step 1 once it has been added.

    -

    Remember that you can also join languages that have already been completely translated, since future Chatty updates will likely also require more or updated translations. This is especially true now, since still not all GUI parts have been added for localization yet.

    - -

    Note that not everything can be translated yet, and the help pages probably won't be at all, since it would be too much work to keep updated. My goal for now is to make the basic functions of the program more comfortable to use for people who don't speak English as their first language.

    +

    Note that not everything can be translated yet, and the help pages probably won't be at all, since it would be too much work to keep updated.

    Translation Guidelines

    +

    This video explains some of these things as well.

    -

    Replacements

    +

    Substitutions

    Something like {0} in a string means it is replaced with the number 0 parameter. It should say in a comment what it gets replaced with (although most of the time it's clear from context already).

    @@ -140,7 +138,7 @@
    -

    Replacements use the MessageFormat class. Mostly it's enough to just stick close to the template.

    +

    Substitutions use the MessageFormat class. Mostly it's enough to just stick close to the template.

    Important: Any single quote (') in a string that contains a replacement needs to be escaped with a single quote (e.g. Can''t join ''{0}'').