KdWpenza Posted June 21, 2018 Share Posted June 21, 2018 Добрый день! В мобильной версии использую компонент TUnimSelect. Как в окне выбора: https://cdn1.savepice.ru/uploads/2018/6/21/d13b6d2561ca4f8f4a58bb70a533cf35-full.jpg заменить "Cancel" на "Отмена" и "Done" на "Выбрать" ??? в файле ...\uniGUI\unim-1.10.0.1457\locale\ext-lang-ru.js никаких настроек для данного компонента нет... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 21, 2018 Share Posted June 21, 2018 Добрый день! Какое издание UniGUI Вы используете ?! Quote Link to comment Share on other sites More sharing options...
KdWpenza Posted June 21, 2018 Author Share Posted June 21, 2018 uniGUI Complete Professional 1.10.0.1457 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 21, 2018 Share Posted June 21, 2018 В смысле, не пробная версия ? Quote Link to comment Share on other sites More sharing options...
KdWpenza Posted June 21, 2018 Author Share Posted June 21, 2018 Нет. Полная версия... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 21, 2018 Share Posted June 21, 2018 Нет. Полная версия... Спасибо! В первую очередь, Вы можете настроить свой email: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/ Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 21, 2018 Share Posted June 21, 2018 Добрый день! В мобильной версии использую компонент TUnimSelect. Как в окне выбора: https://cdn1.savepice.ru/uploads/2018/6/21/d13b6d2561ca4f8f4a58bb70a533cf35-full.jpg заменить "Cancel" на "Отмена" и "Done" на "Выбрать" ??? в файле ...\uniGUI\unim-1.10.0.1457\locale\ext-lang-ru.js никаких настроек для данного компонента нет... http://forums.unigui.com/index.php?/topic/6067-donecancel-button-can-modify-to-another-text/&do=findComment&comment=56210 Quote Link to comment Share on other sites More sharing options...
KdWpenza Posted June 21, 2018 Author Share Posted June 21, 2018 Спасибо!!! Quote Link to comment Share on other sites More sharing options...
Alexander Muromsky Posted July 4, 2018 Share Posted July 4, 2018 Добрый день! Воспользовался информацией из данной ветки. Надписи поменялись. На телефонах и ПК всё отлично. А вот на планшетах выдаётся сообщение об ошибке: Ajax Error: me.getDoneButton is not a function Пробовали на нескольких моделях и современных и старых. В разных браузерах. Quote Link to comment Share on other sites More sharing options...
Alexander Muromsky Posted July 4, 2018 Share Posted July 4, 2018 Решение: В UnimFormCreate добавил -> if upPhone in UniSession.UniPlatform then begin UnimSelect1.ClientEvents.UniEvents.Add('afterCreate=function afterCreate(sender) '+ '{ var me=sender.getPicker();' + ' if (me && !Ext.isWindows) { '+ ' me.getDoneButton().setText("Выбрать"); '+ ' me.getCancelButton().setText("Отмена")} '+ '}'); end; 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.