Note that the original script does work only for English GMail, since
there is an explicit référence to english text in function
"checkMessangesCount()". '//div[@aria-label="Navigate to"]/span'. In
the french GMail version the XPath translates to: '//div[@aria-
label="Accéder à"]/span'. Please find another XPath that is language
independent.
For french users that can't wait for an official patch, I attached a
quick fix *FOR FRENCH USERS ONLY*
Here is a basic patch for French Gmail users.
Note that the original script does work only for English GMail, since Count() ". '//div[ @aria-label= "Navigate to"]/span'. In
there is an explicit référence to english text in function
"checkMessanges
the french GMail version the XPath translates to: '//div[@aria-
label="Accéder à"]/span'. Please find another XPath that is language
independent.
For french users that can't wait for an official patch, I attached a
quick fix *FOR FRENCH USERS ONLY*
To apply:
sudo apt-get install --reinstall unity-webapps-gmail /bugs.launchpad .net/ubuntu/ +source/ unity-webapps- gmail/+ bug/1073397/ +attachment/ XXXXX/+ files/GMail. user.js. patch.fr; unity-webapps/ userscripts/ unity-webapps- gmail/; user.js. patch.fr;
cd;
wget https:/
cd /usr/share/
sudo patch GMail.user.js < ~/GMail.
Notice that I retired the "Compose message" entry because I did not manage to make it work properly.