Ticket #3771: 3771_warning_timelimit.patch

File 3771_warning_timelimit.patch, 1.8 KB (added by Imarok, 7 years ago)

Change "Unknown Error"

  • binaries/data/mods/public/gui/lobby/prelobby.xml

     
    88    <!-- Add a translucent black background to fade out the menu page -->
    99    <object type="image" z="0" sprite="ModernFade"/>
    1010
    11     <object name="dialog" type="image" style="ModernDialog" size="50%-230 50%-120 50%+230 50%+120">
     11    <object name="dialog" type="image" style="ModernDialog" size="50%-230 50%-130 50%+230 50%+130">
    1212
    1313        <action on="Tick">
    1414            onTick();
     
    9292            </object>
    9393
    9494        </object>
    95         <object name="feedback" type="text" size="50 100%-90 100%-50 100%-50" style="ModernLabelText" textcolor="red" text_align="center"/>
     95        <object name="feedback" type="text" size="50 100%-110 100%-50 100%-50" style="ModernLabelText" textcolor="red" text_align="center"/>
    9696        <object name="cancel" type="button" size="18 100%-45 50%-5 100%-17" style="ModernButtonRed" hotkey="cancel">
    9797            <translatableAttribute id="caption">Cancel</translatableAttribute>
    9898            <action on="Press">
  • source/lobby/XmppClient.cpp

     
    10941094    DEBUG_CASE(RegistrationUnexpectedRequest, "This client is unregistered with the server");
    10951095    DEBUG_CASE(RegistrationNotAllowed, "Server does not permit password changes");
    10961096    default:
    1097         return g_L10n.Translate("Unknown error");
     1097        return g_L10n.Translate("Unknown error. This usually occurs, because you are not allowed to register more then one account within one hour.");
    10981098    }
    10991099#undef DEBUG_CASE
    11001100#undef CASE