Welcome Guest ( Log In | Register )


Recommended Addon
sponsored link
Sponsored link

2 Pages V  < 1 2  
Reply to this topicStart new topic
> AMO Localiser - Ver. 0.3a, Updated: 14/09/08 21:50
eviljeff
post Aug 28 2008, 01:29
Post #21


Advanced Member
***

Group: Members
Posts: 204
Joined: 29-January 06
From: sheffield
Member No.: 591
Extension Developer: Yes
Extensions: attachmentextractor
AMOLocaliser

Translator for English (en-GB / British)



QUOTE (Goofy @ Aug 26 2008, 09:52) *
smile.gif Sure decent developers don't really need help to write a simple .properties file. What I suggest is just a question of having the job half done quickly with no question like "btw, what shall I choose as variable names? Do they have a field for Version notes on AMO?" and the kind.

thanks for you promising answer, maybe you will give it a try when you have one minute left rolleyes.gif

done wink.gif
Go to the top of the page
 
+Quote Post
Goofy
post Aug 28 2008, 07:39
Post #22


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.357
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



QUOTE (eviljeff @ Aug 28 2008, 02:29) *
done wink.gif

rockon.gif very good stuff, this is (almost) perfect smile.gif - I would just say that the input fields (hence the dialog window) should be resizeable (auto-resizeable ?) if possible, there can be not-so-short values to enter in amo.properties file.

Many thanks indeed for everything!


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
eviljeff
post Aug 28 2008, 10:40
Post #23


Advanced Member
***

Group: Members
Posts: 204
Joined: 29-January 06
From: sheffield
Member No.: 591
Extension Developer: Yes
Extensions: attachmentextractor
AMOLocaliser

Translator for English (en-GB / British)



QUOTE (Goofy @ Aug 28 2008, 07:39) *
rockon.gif very good stuff, this is (almost) perfect smile.gif - I would just say that the input fields (hence the dialog window) should be resizeable (auto-resizeable ?) if possible, there can be not-so-short values to enter in amo.properties file.

okay, in the release xpi the window will be (manually) resizeable.
Go to the top of the page
 
+Quote Post
Goofy
post Aug 28 2008, 10:42
Post #24


Advanced Member
Group Icon

Group: Super Mod
Posts: 8.357
Joined: 30-July 05
From: GoofyLand
Member No.: 13


Extension Developer: Yes
Extensions: BabelZillaMenu-BabelZilla Glossary-OpenTran...
Translator for French (fr)
My OS Gnu/Linux
Translation Credits to Goofy



QUOTE (eviljeff @ Aug 28 2008, 11:40) *
okay, in the release xpi the window will be (manually) resizeable.


You are very kind, Thou Lord of Code.

Much gratefully

- your humble servant ;-)


--------------------
Think Global, Make Locales!



You like languages? You should contribute to Tatoeba project!

Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
Go to the top of the page
 
+Quote Post
markh
post Aug 28 2008, 12:15
Post #25


BZ Jungle Guide
Group Icon

Group: Admin
Posts: 3.897
Joined: 24-April 06
From: the culinary and touristically unchallenged parts of the Netherlands
Member No.: 1.264


Extension Developer: No
Translator for Dutch (nl)
My OS Windows
Translation Credits to markh van BabelZilla.org



Dutch locale updated, tested and released cool.gif


--------------------
Don’t have to be beautiful but it helps

Go to the top of the page
 
+Quote Post
StefanS
post Sep 3 2008, 14:52
Post #26


Member
**

Group: Members
Posts: 16
Joined: 31-May 08
Member No.: 8.661
Extension Developer: Yes
Extensions: 7113



Hello,
First: Thank you for your useful addon.

But I have some open questions:
- on my add-on-AMO-Page i can "Browse for XPI" an load the data from the "/locales/la-ng/amo.properties"-files of my addon, right? After clicking "Reuse Add-on with current page" the properties should be copied into the appropriate form-fields on the AMO-page? This is not functioning on my FF :| (because of an new design of AMO?!)
- what does "Browse for folder" mean? Can i open an extensions-rootfolder (with "install.rdf" inside)?

Can you add some userdefined properties to you system? I would add translatorsName etc... (for using inside my extension)

Regards
Stefan
Go to the top of the page
 
+Quote Post
eviljeff
post Sep 3 2008, 20:22
Post #27


Advanced Member
***

Group: Members
Posts: 204
Joined: 29-January 06
From: sheffield
Member No.: 591
Extension Developer: Yes
Extensions: attachmentextractor
AMOLocaliser

Translator for English (en-GB / British)



QUOTE (Sorg @ Sep 3 2008, 14:52) *
Hello,
First: Thank you for your useful addon.

But I have some open questions:
- on my add-on-AMO-Page i can "Browse for XPI" an load the data from the "/locales/la-ng/amo.properties"-files of my addon, right? After clicking "Reuse Add-on with current page" the properties should be copied into the appropriate form-fields on the AMO-page? This is not functioning on my FF :| (because of an new design of AMO?!)
the reuse button is after you've loaded the xpi once so you can use it again on another page within amo. There isn't any new design I've noticed. what doesn't work?
QUOTE (Sorg @ Sep 3 2008, 14:52) *
- what does "Browse for folder" mean? Can i open an extensions-rootfolder (with "install.rdf" inside)?
Yes. install.rdf is ignored anyway but it will search subfolders for appropriately named folders with amo.properties inside.
QUOTE (Sorg @ Sep 3 2008, 14:52) *
Can you add some userdefined properties to you system? I would add translatorsName etc... (for using inside my extension)

You can manually add whatever fields you want to the properties file. If you are able to write the script to extract and use the entries elsewhere then I'm sure you have the computer ability wink.gif
Go to the top of the page
 
+Quote Post
StefanS
post Sep 3 2008, 21:04
Post #28


Member
**

Group: Members
Posts: 16
Joined: 31-May 08
Member No.: 8.661
Extension Developer: Yes
Extensions: 7113



QUOTE (eviljeff @ Sep 3 2008, 20:22) *
There isn't any new design I've noticed.

OK.... yesterday there was a "tryout the new system"-link in my AMO-Addon-Account. behind thsi link there was a new styled AMO-Design. But this don't care.

QUOTE (eviljeff @ Sep 3 2008, 20:22) *
what doesn't work?

OK. I will describe my approach:
- I create an amo.properties-File via menu-entry "Create valid properties file" - save it to "C:/projects/myaddon/locales/de-DE/amo.properties" (this folder contains the directorytree of my addon)
- i go to "my" AMO-Addon Page - the AMO Localizer-Buttons appear
- i click "Browse for Folder" - choosing "C:/projects/myaddon" -> NOTHING happens!

Same thing, if i try your plugin with an XPI (containing the amo.properties-file)

Whats wrong?

Stefan
Go to the top of the page
 
+Quote Post
eviljeff
post Sep 4 2008, 20:39
Post #29


Advanced Member
***

Group: Members
Posts: 204
Joined: 29-January 06
From: sheffield
Member No.: 591
Extension Developer: Yes
Extensions: attachmentextractor
AMOLocaliser

Translator for English (en-GB / British)



QUOTE (Sorg @ Sep 3 2008, 21:04) *
OK.... yesterday there was a "tryout the new system"-link in my AMO-Addon-Account. behind thsi link there was a new styled AMO-Design. But this don't care.
Ah yes, I know about that. It doesn't work with it yet. If/when it becomes the default i'll have to make changes.
QUOTE (Sorg @ Sep 3 2008, 21:04) *
OK. I will describe my approach:
- I create an amo.properties-File via menu-entry "Create valid properties file" - save it to "C:/projects/myaddon/locales/de-DE/amo.properties" (this folder contains the directorytree of my addon)
- i go to "my" AMO-Addon Page - the AMO Localizer-Buttons appear
- i click "Browse for Folder" - choosing "C:/projects/myaddon" -> NOTHING happens!

Same thing, if i try your plugin with an XPI (containing the amo.properties-file)

Sounds like the right steps. If you set the preference 'amoLocaliser.debug=true' the error console will show status messages showing what's going on.
You may need to set these too:
browser.dom.window.dump.enabled=true
javascript.options.showInConsole=true
Go to the top of the page
 
+Quote Post
StefanS
post Sep 6 2008, 00:01
Post #30


Member
**

Group: Members
Posts: 16
Joined: 31-May 08
Member No.: 8.661
Extension Developer: Yes
Extensions: 7113



QUOTE (eviljeff @ Sep 4 2008, 20:39) *
If you set the preference 'amoLocaliser.debug=true' the error console will show status messages showing what's going on.
You may need to set these too:
browser.dom.window.dump.enabled=true
javascript.options.showInConsole=true


This is the output:
CODE
Warning: assignment to undeclared variable oSBPMItem
Source file: chrome://qls/content/qls.js
Line: 790
----------
Warning: assignment to undeclared variable oSBCTooltip
Source file: chrome://qls/content/qls.js
Line: 588
----------
Error: view.selection is null
Source file: chrome://global/content/config.js
Line: 364
----------
AMOLocaliser: adding button to page
----------
AMOLocaliser: AMOLocaliserButton-XPIBrowse
----------
AMOLocaliser: 9 amo.properties files found
----------
AMOLocaliser: packageName: rotateimage; chromeUri: chrome/content/
----------
AMOLocaliser: AMOLocaliserButton-Apply

Looks harmless.... but your tool inserts nothing.

Other Addons i installed on the running FF-Profile:
  • Advanced URL Builder
  • Console²
  • Quick Locale Switcher
  • Rotate Image
Go to the top of the page
 
+Quote Post
eviljeff
post Sep 7 2008, 15:20
Post #31


Advanced Member
***

Group: Members
Posts: 204
Joined: 29-January 06
From: sheffield
Member No.: 591
Extension Developer: Yes
Extensions: attachmentextractor
AMOLocaliser

Translator for English (en-GB / British)



QUOTE (Sorg @ Sep 6 2008, 00:01) *
This is the output:

Looks harmless.... but your tool inserts nothing.

what are your locale folders called? If the locale folders aren't called something really obvious the add-on won't match them.
Go to the top of the page
 
+Quote Post
eviljeff
post Sep 14 2008, 20:54
Post #32


Advanced Member
***

Group: Members
Posts: 204
Joined: 29-January 06
From: sheffield
Member No.: 591
Extension Developer: Yes
Extensions: attachmentextractor
AMOLocaliser

Translator for English (en-GB / British)



version 0.3 has been uploaded. Its mainly usability improvements, though I think I've fixed the bug that StefanS was experiencing also.

p.s. Some localisers don't seem to have realised that 'localiserName' is for YOUR name so you can get credit for your work.
Go to the top of the page
 
+Quote Post
markh
post Sep 15 2008, 09:29
Post #33


BZ Jungle Guide
Group Icon

Group: Admin
Posts: 3.897
Joined: 24-April 06
From: the culinary and touristically unchallenged parts of the Netherlands
Member No.: 1.264


Extension Developer: No
Translator for Dutch (nl)
My OS Windows
Translation Credits to markh van BabelZilla.org



Dutch locale updated, briefly tested and released cool.gif


--------------------
Don’t have to be beautiful but it helps

Go to the top of the page
 
+Quote Post
DakSrbija
post Apr 20 2009, 11:45
Post #34


Advanced Member
***

Group: BabelZillian Mods
Posts: 414
Joined: 5-June 08
From: Republic of Srpska
Member No.: 8.719


Extension Developer: No
Translator for Serbian (sr)
My OS Windows
Translation Credits to ДакСРБИЈА



Serbian (sr-RS) localization has been released biggrin.gif
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th June 2013 - 10:09
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft