STORM-243 FIXED Disabled the "You just entered a region using a different server version..." pop-up notification.
parent
7314ad41be
commit
fd95de0e79
|
|
@ -12445,16 +12445,5 @@
|
|||
<key>Value</key>
|
||||
<string>name</string>
|
||||
</map>
|
||||
<key>ReleaseNotesURL</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Release notes URL template</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>String</string>
|
||||
<key>Value</key>
|
||||
<string>http://secondlife.com/app/releasenotes/?channel=[CHANNEL]&version=[VERSION]</string>
|
||||
</map>
|
||||
</map>
|
||||
</llsd>
|
||||
|
|
|
|||
|
|
@ -171,31 +171,6 @@ const BOOL SCRIPT_QUESTION_IS_CAUTION[SCRIPT_PERMISSION_EOF] =
|
|||
FALSE // ControlYourCamera
|
||||
};
|
||||
|
||||
// Extract channel and version from a string like "SL Web Viewer Beta 10.11.29.215604".
|
||||
// (channel: "SL Web Viewer Beta", version: "10.11.29.215604")
|
||||
static bool parse_version_info(const std::string& version_info, std::string& channel, std::string& ver)
|
||||
{
|
||||
size_t last_space = version_info.rfind(" ");
|
||||
channel = version_info;
|
||||
|
||||
if (last_space != std::string::npos)
|
||||
{
|
||||
try
|
||||
{
|
||||
ver = version_info.substr(last_space + 1);
|
||||
channel.replace(last_space, ver.length() + 1, ""); // strip version
|
||||
}
|
||||
catch (std::out_of_range)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool friendship_offer_callback(const LLSD& notification, const LLSD& response)
|
||||
{
|
||||
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
|
||||
|
|
@ -3848,31 +3823,6 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!gLastVersionChannel.empty())
|
||||
{
|
||||
std::string url = regionp->getCapability("ServerReleaseNotes");
|
||||
if (url.empty())
|
||||
{
|
||||
// The capability hasn't arrived yet or is not supported,
|
||||
// fall back to parsing server version channel.
|
||||
std::string channel, ver;
|
||||
if (!parse_version_info(version_channel, channel, ver))
|
||||
{
|
||||
llwarns << "Failed to parse server version channel (" << version_channel << ")" << llendl;
|
||||
}
|
||||
|
||||
url = gSavedSettings.getString("ReleaseNotesURL");
|
||||
LLSD args;
|
||||
args["CHANNEL"] = LLWeb::escapeURL(channel);
|
||||
args["VERSION"] = LLWeb::escapeURL(ver);
|
||||
LLStringUtil::format(url, args);
|
||||
}
|
||||
|
||||
LLSD args;
|
||||
args["URL"] = url;
|
||||
LLNotificationsUtil::add("ServerVersionChanged", args);
|
||||
}
|
||||
|
||||
gLastVersionChannel = version_channel;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1580,9 +1580,6 @@ Klik på Acceptér for at deltage eller Afvis for at afvise invitationen. Klik p
|
|||
<notification name="VoiceCallGenericError">
|
||||
En fejl er opstået under forsøget på at koble sig på stemme chatten [VOICE_CHANNEL_NAME]. Pråv venligst senere.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
Du er netop ankommet til en region der benytter en anden server version, hvilket kan influere på hastigheden. [[URL] For at se yderligere.]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
Den SLurl du klikkede på understøttes ikke.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -2691,9 +2691,6 @@ Klicken Sie auf 'Akzeptieren ', um dem Chat beizutreten, oder auf &a
|
|||
<notification name="VoiceCallGenericError">
|
||||
Fehler beim Versuch, eine Voice-Chat-Verbindung zu [VOICE_CHANNEL_NAME] herzustellen. Bitte versuchen Sie es erneut.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
Sie haben eine Region betreten, die eine andere Server-Version verwendet. Dies kann sich auf die Leistung auswirken. [[URL] Versionshinweise anzeigen.]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
Die SLurl, auf die Sie geklickt haben, wird nicht unterstützt.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -6303,15 +6303,6 @@ An error has occurred while trying to connect to voice chat for [VOICE_CHANNEL_N
|
|||
</unique>
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
duration="10"
|
||||
icon="notifytip.tga"
|
||||
name="ServerVersionChanged"
|
||||
priority="high"
|
||||
type="notifytip">
|
||||
You just entered a region using a different server version, which may affect performance. [[URL] View the release notes.]
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="UnsupportedCommandSLURL"
|
||||
|
|
|
|||
|
|
@ -2678,9 +2678,6 @@ Pulsa Aceptar o Rehusar para coger o no la llamada. Pulsa Ignorar para ignorar a
|
|||
<notification name="VoiceCallGenericError">
|
||||
Se ha producido un error al intentar conectarte al [VOICE_CHANNEL_NAME]. Por favor, inténtalo más tarde.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
Acabas de entrar en una región que usa un servidor con una versión distinta, y esto puede influir en el funcionamiento. [[URL] Ver las notas de desarrollo].
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
No se admite el formato de la SLurl que has pulsado.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -2674,9 +2674,6 @@ Pour y participer, cliquez sur Accepter. Sinon, cliquez sur Refuser. Pour ignore
|
|||
<notification name="VoiceCallGenericError">
|
||||
Une erreur est survenue pendant la connexion au chat vocal pour [VOICE_CHANNEL_NAME]. Veuillez réessayer ultérieurement.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
La région dans laquelle vous avez pénétré utilise une version de serveur différente, ce qui peut avoir un impact sur votre performance. [[URL] Consultez les notes de version.]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
La SLurl que vous avez saisie n'est pas prise en charge.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -2623,9 +2623,6 @@ Clicca su Accetta per unirti alla chat oppure su Declina per declinare l'in
|
|||
<notification name="VoiceCallGenericError">
|
||||
Si è verificato un errore durante il tentativo di collegarti a una voice chat con [VOICE_CHANNEL_NAME]. Riprova più tardi.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
Sei appena entrato in una regione che usa una versione differente del server: ciò potrebbe incidere sule prestazioni. [[URL] Visualizza le note sulla versione.]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
Lo SLurl su cui hai cliccato non è valido.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -2675,9 +2675,6 @@ M キーを押して変更します。
|
|||
<notification name="VoiceCallGenericError">
|
||||
[VOICE_CHANNEL_NAME] のボイスチャットに接続中に、エラーが発生しました。後でもう一度お試しください。
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
サーバーのバージョンが異なるリージョンに来ました。パフォーマンスに影響することがあります。 [[URL] リリースノートを確認]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
クリックした SLurl はサポートされていません。
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -3012,9 +3012,6 @@ Klik Accepteren om deel te nemen aan de chat of Afwijzen om de uitnodiging af te
|
|||
<notification name="VoiceCallGenericError">
|
||||
Er is een fout opgetreden tijdens het verbinden met voice chat voor [VOICE_CHANNEL_NAME]. Probeert u het later alstublieft opnieuw.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
De regio die u bent binnengetreden wordt onder een andere simulatorversie uitgevoerd. Klik dit bericht voor meer details.
|
||||
</notification>
|
||||
<notification name="UnableToOpenCommandURL">
|
||||
De URL die u heeft geklikt kan niet binnen deze webbrowser worden geopend.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -2635,9 +2635,6 @@ Wybierz Zaakceptuj żeby zacząć czat albo Odmów żeby nie przyjąć zaproszen
|
|||
<notification name="VoiceCallGenericError">
|
||||
Błąd podczas łączenia z rozmową [VOICE_CHANNEL_NAME]. Spróbuj póżniej.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
Ten region używa innej wersji symulatora. Kliknij na tą wiadomość żeby uzyskać więcej informacji: [[URL] View the release notes.]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
Nie można otworzyć wybranego SLurl.
|
||||
</notification>
|
||||
|
|
|
|||
|
|
@ -2658,9 +2658,6 @@ Clique em Aceitar para atender ou em Recusar para recusar este convite. Clique
|
|||
<notification name="VoiceCallGenericError">
|
||||
Ocorreu um erro enquanto você tentava se conectar à conversa de voz de [VOICE_CHANNEL_NAME]. Favor tentar novamente mais tarde.
|
||||
</notification>
|
||||
<notification name="ServerVersionChanged">
|
||||
Você chegou a uma região com uma versão diferente de servidor, que pode afetar o desempenho. [[URL] Consultar notas da versão.]
|
||||
</notification>
|
||||
<notification name="UnsupportedCommandSLURL">
|
||||
O SLurl no qual você clicou não é suportado.
|
||||
</notification>
|
||||
|
|
|
|||
Loading…
Reference in New Issue