Results 1 to 6 of 6
-
01-07-2012, 11:03 #1
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- El Prat de Llobregat (Barcelona, Spain)
- Posts
- 1,291
TS3 3.0.7 Package installer, option for not to ask about activating the Add-on
Now, from client 3.0.7, the package installer once finished the installation ask about activate the Add-on
This seems practical but may have secondary, or collateral, effects.Code:Add-On successfully installed. Do you want to activate this Add-On?
For exemple:
I offer a package with the translations that contains files for the subdirectories /translations (the .qm files) and /styles (the .tpl files). Due it's not possible to copy the .tpl files to the theme subdirectory, i include a neutral directory, /styles/my_theme, with the tpl files and the instructions in a .txt file for the manual copy. With the automatic activation, if the user answers 'Yes, activate the add-on', the language changes but the theme goes to default.
Without the automatic option, i had to 'explain' how to select the language. Now, with the automatic option i have to 'explain' how to revert the theme.
I think it would be better to have control from the package.ini over this automatism at the end of the package installation, a way to decide if the 'Do you want to activate?' question it's shown at the end of the instalation or not.
-
03-07-2012, 10:00 #2
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Location
- Krün, Germany
- Posts
- 464
Can you please give a link to your package so we can have a look?
-
03-07-2012, 16:40 #3
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- El Prat de Llobregat (Barcelona, Spain)
- Posts
- 1,291
Of course. Here there are the two ones.
This package change the language and set the theme to system default:
http://08pc10.es/ts3/ts307_rustiktea...s3_translation
This package only change the language:
http://08pc10.es/ts3/ts307_rustiktea...s3_translation
Note: I've taken a look to your add-on for the 'extended TPL files'.
http://addons.teamspeak.com/director...ient-Info.html
I've seen you include the .qss file. I think with that the theme would be included and selected in the combo box. But I only want to provide the translatation for the TPL files.
If a .qss was included then the theme would be selected correctly (instead of system default) but the result would be the same: wanting provide a translation the selected theme changes.
Idea: Perhaps one possibility was that if no file. QSS is present then do not select any theme.Last edited by PotaBlava; 03-07-2012 at 19:17. Reason: Include Note, Include Idea
-
04-07-2012, 08:00 #4
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Location
- Krün, Germany
- Posts
- 464
I see your point and agree the current behaviour is not optimal. While I don't know exactly how to solve it yet, I will look into it.
-
10-07-2012, 16:24 #5
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Location
- Krün, Germany
- Posts
- 464
I changed the package installer as suggested: Themes only get activated if a qss file is present.
So in case of your file ts307_rustikteam23_changethemetodefault_es.ts3_tra nslation, the translation would be activated but not the style.
Please have a look once the beta is out.
-
10-07-2012, 17:45 #6
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- El Prat de Llobregat (Barcelona, Spain)
- Posts
- 1,291
Ok, thanks.
Waiting for the beta...
---
---
Well, just for your consideration, another issue with activating the addon.
In our server we have two languages: spanish and catalan, that means lagos_es.qm and lagos_ca.qm.
Once we have the translation, we prepare the two packs for the addons.teamspeak.com website (one for spanish and other for catalan) but for our server we prepare only one, a new one, with the two languages because so far we did not want to distinguish or to choose any of them (or even know what the number of downloads each one has).
Now, with 3.0.7, we find that if someone who has selected 'Catalan' answer Yes to the question 'Do you want to activate it', after restart appears in Spanish. In specific cases this can be terrifying. Imagine: people with 'Leo Messi' on the screen stops and when restarts he finds with 'Cristiano Ronaldo'.
Prevention of this we have recommanded to our users to answer NO. If somebody answer Yes, then this will be at his own risk.
We also offer three styles, the same theme but three different letter size, for people who has visual problem. In this case, the big one is chosen.
Returning to the issue. I think when the installer finds two languages, _ca and _es, it activates _es due that alphabetically it's the last one.
Suggestion: If one of the supplied languages it's already selected then not to activate any.
This also could apply for styles and any other option.
--- ----------- ------
Tested with Client 3.0.8 (2012-07-11 07:38:33) --> Good. It worked as expected, as you described.
I've generated others .ts3_translations with good results. The list of tests
a) no qss --> no theme selected
b) one with qss and the other without --> the one with qss results selected
c) the two qss present --> 'the last one' selected.Last edited by PotaBlava; 11-07-2012 at 17:12. Reason: Note for 3.0.8 beta
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Package installer
By sbristol21 in forum Bug ReportsReplies: 0Last Post: 22-01-2012, 22:06 -
Package installer
By sbristol21 in forum WindowsReplies: 0Last Post: 22-01-2012, 22:06 -
TeamSpeak 3 Package Installer
By Peter in forum ToolsReplies: 1Last Post: 13-12-2011, 10:20 -
TeamSpeak 3 Package Installer
By Peter in forum PluginsReplies: 1Last Post: 13-12-2011, 10:19 -
[Resolved] Package Installer Error
By SmokinShark in forum PluginsReplies: 8Last Post: 10-10-2011, 12:50


Reply With Quote
