Re: [web2py] Re: Change the download text from file to something else?

2014-04-17 Thread António Ramos
I´m using 2.0.9 on windows.




2014-04-16 21:36 GMT+01:00 Niphlod niph...@gmail.com:

 what version are you using ?
 with latest stable (2.9.5), I just confirmed that the string pops up quite
 fine.





 Can you pack an app to reproduce ?


 On Wednesday, April 16, 2014 4:23:06 PM UTC+2, Ramos wrote:

 a litle more info i use sqlform

 form=SQLFORM(db.trabalhador,row.id,
 showid=False,
 submit_button=Gravar,
 fields=formfields,
 table_name='trabalhador',
 formstyle = 'table2cols',
 upload=URL('download'),
 readonly=readonly
 )

  to create the form and in my view i have only {{=form}}

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-17 Thread Niphlod
then it's just 'file'. 
And come on, 2.0.9 is more than a year old!

On Thursday, April 17, 2014 11:07:04 AM UTC+2, Ramos wrote:

 I´m using 2.0.9 on windows.




 2014-04-16 21:36 GMT+01:00 Niphlod nip...@gmail.com javascript::

 what version are you using ?
 with latest stable (2.9.5), I just confirmed that the string pops up 
 quite fine.





 Can you pack an app to reproduce ?


 On Wednesday, April 16, 2014 4:23:06 PM UTC+2, Ramos wrote:

 a litle more info i use sqlform

 form=SQLFORM(db.trabalhador,row.id,
 showid=False,
 submit_button=Gravar,
 fields=formfields,
 table_name='trabalhador',
 formstyle = 'table2cols',
 upload=URL('download'),
 readonly=readonly
 )

  to create the form and in my view i have only {{=form}}

  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 You received this message because you are subscribed to the Google Groups 
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to web2py+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-17 Thread António Ramos
HIHIHI, its like Port Wine, the older the better...

Updating ASAP!!!



2014-04-17 11:00 GMT+01:00 Niphlod niph...@gmail.com:

 then it's just 'file'.
 And come on, 2.0.9 is more than a year old!


 On Thursday, April 17, 2014 11:07:04 AM UTC+2, Ramos wrote:

 I´m using 2.0.9 on windows.




 2014-04-16 21:36 GMT+01:00 Niphlod nip...@gmail.com:

 what version are you using ?
 with latest stable (2.9.5), I just confirmed that the string pops up
 quite fine.





 Can you pack an app to reproduce ?


 On Wednesday, April 16, 2014 4:23:06 PM UTC+2, Ramos wrote:

 a litle more info i use sqlform

 form=SQLFORM(db.trabalhador,row.id,
 showid=False,
 submit_button=Gravar,
 fields=formfields,
 table_name='trabalhador',
 formstyle = 'table2cols',
 upload=URL('download'),
 readonly=readonly
 )

  to create the form and in my view i have only {{=form}}

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google
 Groups web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to web2py+un...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-16 Thread Niphlod
there should be one. if not, i should be created

On Tuesday, April 15, 2014 4:23:24 PM UTC+2, Ramos wrote:


 2014-04-15 14:24 GMT+01:00 Niphlod nip...@gmail.com javascript::

 'file ## download'


 You lost me
 where do i find the string 'file ## download'
 ?


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-16 Thread António Ramos
i created this in my view before the upload widget
h1{{=T(file ## download)}}/h1

i see it in my language file and i translate it.

i refresh this page and the h1 tag shows the translated text but the upload
widget continues to show file next to the upload button.

So it does not solve my problem.


2014-04-16 12:52 GMT+01:00 Niphlod niph...@gmail.com:

 there should be one. if not, i should be created

 On Tuesday, April 15, 2014 4:23:24 PM UTC+2, Ramos wrote:


 2014-04-15 14:24 GMT+01:00 Niphlod nip...@gmail.com:

 'file ## download'


 You lost me
 where do i find the string 'file ## download'
 ?

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-16 Thread António Ramos
a litle more info i use sqlform

form=SQLFORM(db.trabalhador,row.id,
showid=False,
submit_button=Gravar,
fields=formfields,
table_name='trabalhador',
formstyle = 'table2cols',
upload=URL('download'),
readonly=readonly
)

 to create the form and in my view i have only {{=form}}


2014-04-16 15:18 GMT+01:00 António Ramos ramstei...@gmail.com:

 i created this in my view before the upload widget
 h1{{=T(file ## download)}}/h1

 i see it in my language file and i translate it.

 i refresh this page and the h1 tag shows the translated text but the
 upload widget continues to show file next to the upload button.

 So it does not solve my problem.


 2014-04-16 12:52 GMT+01:00 Niphlod niph...@gmail.com:

 there should be one. if not, i should be created

 On Tuesday, April 15, 2014 4:23:24 PM UTC+2, Ramos wrote:


 2014-04-15 14:24 GMT+01:00 Niphlod nip...@gmail.com:

 'file ## download'


 You lost me
 where do i find the string 'file ## download'
 ?

  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-16 Thread Niphlod
what version are you using ?
with latest stable (2.9.5), I just confirmed that the string pops up quite 
fine.





Can you pack an app to reproduce ?

On Wednesday, April 16, 2014 4:23:06 PM UTC+2, Ramos wrote:

 a litle more info i use sqlform

 form=SQLFORM(db.trabalhador,row.id,
 showid=False,
 submit_button=Gravar,
 fields=formfields,
 table_name='trabalhador',
 formstyle = 'table2cols',
 upload=URL('download'),
 readonly=readonly
 )

  to create the form and in my view i have only {{=form}}



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-15 Thread António Ramos
I tried the translation string but it doesn´t change the text in the web
page.
[image: Imagem inline 1]
Regards
António


2014-04-11 20:48 GMT+01:00 Niphlod niph...@gmail.com:

 make your own widget or act on the default translation of the string

 'file ## download'

 hint: anything after ## is to be treated as a comment.


 On Friday, April 11, 2014 12:37:37 PM UTC+2, Ramos wrote:

 no hints?


 2014-04-10 15:25 GMT+01:00 António Ramos ramst...@gmail.com:

 hello i want to change the text that appears on downloadable file links

 I see file but that is nothing informative especially when users dont
 speak english

 I want to default it to something else

 where do i change that behaviour?

 regards

 António


  --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
inline: image.png

Re: [web2py] Re: Change the download text from file to something else?

2014-04-15 Thread Niphlod
you need to translate the entire *file ## download *. my everthing after 
## is to be treated as comment means that if you put something after ## in 
the translation, it won't pop up.

On Tuesday, April 15, 2014 2:45:56 PM UTC+2, Ramos wrote:

 I tried the translation string but it doesn´t change the text in the web 
 page.
 [image: Imagem inline 1]
 Regards
 António


 2014-04-11 20:48 GMT+01:00 Niphlod nip...@gmail.com javascript::

 make your own widget or act on the default translation of the string

 'file ## download'

 hint: anything after ## is to be treated as a comment.


 On Friday, April 11, 2014 12:37:37 PM UTC+2, Ramos wrote:

 no hints?


 2014-04-10 15:25 GMT+01:00 António Ramos ramst...@gmail.com:

 hello i want to change the text that appears on downloadable file links

 I see file but that is nothing informative especially when users dont 
 speak english 

 I want to default it to something else

 where do i change that behaviour?

 regards

 António


  -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 --- 
 You received this message because you are subscribed to the Google Groups 
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to web2py+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Change the download text from file to something else?

2014-04-15 Thread António Ramos
2014-04-15 14:24 GMT+01:00 Niphlod niph...@gmail.com:

 'file ## download'


You lost me
where do i find the string 'file ## download'
?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.