Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 09:17:21 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: confirm dialog & internationalization  (Read 483 times)
gikotim
Sr. Member
****
Posts: 49


View Profile
« on: February 24, 2010, 04:09:22 AM »

Hi
is there a way to set the caption of the "yes"/"no" buttons in the linb.UI.Dialog.confirm?

Thank you!
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: February 24, 2010, 04:33:56 PM »

Find "Locale/en.js", and modify "yes", "no" description.

or, give these caption directly:

Logged
gikotim
Sr. Member
****
Posts: 49


View Profile
« Reply #2 on: February 24, 2010, 10:43:23 PM »

doesn't work for me.
In the API def I see:

Parameters:
    * title [Optional] : String, the title string.
    * content [Optional] : String, the content string.
    * onYes [Optional] : Function, the Yes callback function.
    * onNo [Optional] : Function, the No callback function.
    * left [Optional] : Number, left value.
    * top [Optional] : Number, top value.

and that's what happens.

But changing the Locale-file works.

Thank you for your support.

« Last Edit: February 24, 2010, 10:50:20 PM by gikotim » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!