Commit c930028e authored by Evren Esat Özkan's avatar Evren Esat Özkan Committed by Vladimir Baranov

minor fixes, TR translation.

parent 0dca3c1f
...@@ -43,11 +43,11 @@ angular.module("ulakbus.messaging") ...@@ -43,11 +43,11 @@ angular.module("ulakbus.messaging")
rootElement: popupRootElement, rootElement: popupRootElement,
link: function(scope){ link: function(scope){
scope.channel = channel||{}; scope.channel = channel||{};
scope.title = "Edit channel"; scope.title = "Kanalı düzenle";
scope.actionTitle = "Edit"; scope.actionTitle = "Düzenle";
if (!channel){ if (!channel){
scope.title = "Create new channel"; scope.title = "Yeni Kanal Oluştur";
scope.actionTitle = "Create"; scope.actionTitle = "Oluştur";
} }
} }
}) })
...@@ -96,7 +96,7 @@ angular.module("ulakbus.messaging") ...@@ -96,7 +96,7 @@ angular.module("ulakbus.messaging")
return MessagingPopup.show({ return MessagingPopup.show({
templateUrl: "components/messaging/templates/delete_confirmation.html", templateUrl: "components/messaging/templates/delete_confirmation.html",
link: function(scope){ link: function(scope){
scope.title = title || "Are you sure you want to delete?"; scope.title = title || "Silmek istediğinize emin misiniz?";
}, },
rootElement: popupRootElement rootElement: popupRootElement
}) })
...@@ -166,7 +166,7 @@ angular.module("ulakbus.messaging") ...@@ -166,7 +166,7 @@ angular.module("ulakbus.messaging")
break; break;
case '_zops_delete_channel': case '_zops_delete_channel':
iScope.deleteConfirmation('Are you sure you want to delete channel?') iScope.deleteConfirmation('Kanalı silmek istediğinize emin misiniz?')
.then(function(){ .then(function(){
MessagingService.delete_channel(getKey(channel)); MessagingService.delete_channel(getKey(channel));
}); });
...@@ -183,8 +183,8 @@ angular.module("ulakbus.messaging") ...@@ -183,8 +183,8 @@ angular.module("ulakbus.messaging")
templateUrl: "components/messaging/templates/add_user_unit.html", templateUrl: "components/messaging/templates/add_user_unit.html",
rootElement: popupRootElement, rootElement: popupRootElement,
link: function(scope){ link: function(scope){
scope.title = "Add User to channel"; scope.title = "Kanala kullanıcı ekle";
scope.placeholder = "Search User to Add"; scope.placeholder = "Eklemek için kullanıcı ara";
scope.onChange = function(query){ scope.onChange = function(query){
searchWrapper(scope, function(){ searchWrapper(scope, function(){
return MessagingService.search_user(query); return MessagingService.search_user(query);
...@@ -202,8 +202,8 @@ angular.module("ulakbus.messaging") ...@@ -202,8 +202,8 @@ angular.module("ulakbus.messaging")
templateUrl: "components/messaging/templates/add_user_unit.html", templateUrl: "components/messaging/templates/add_user_unit.html",
rootElement: popupRootElement, rootElement: popupRootElement,
link: function(scope){ link: function(scope){
scope.title = "Add Unit"; scope.title = "Birim Ekle";
scope.placeholder = "Search Unit to Add"; scope.placeholder = "Kanala eklemek için birim ara";
scope.onChange = function(query){ scope.onChange = function(query){
searchWrapper(scope, function(){ searchWrapper(scope, function(){
return MessagingService.search_unit(query); return MessagingService.search_unit(query);
...@@ -278,7 +278,7 @@ angular.module("ulakbus.messaging") ...@@ -278,7 +278,7 @@ angular.module("ulakbus.messaging")
}); });
break; break;
case "_zops_delete_message": case "_zops_delete_message":
iScope.deleteConfirmation("Are you sure you want to delete message?") iScope.deleteConfirmation("Mesajı silmek istediğinize emin misiniz?")
.then(function(){ .then(function(){
return MessagingService.delete_message(message.key).then(function(){ return MessagingService.delete_message(message.key).then(function(){
deleteMessageLocally(message.key); deleteMessageLocally(message.key);
......
...@@ -301,7 +301,7 @@ angular.module('ulakbus.messaging', ['ui.bootstrap']) ...@@ -301,7 +301,7 @@ angular.module('ulakbus.messaging', ['ui.bootstrap'])
msg.delete_message = function (msgKey) { msg.delete_message = function (msgKey) {
var outgoing = { var outgoing = {
view: '_zops_delete_message', view: '_zops_delete_message',
message_key: msgKey key: msgKey
}; };
return wsRequest(outgoing).then(function(result){ return wsRequest(outgoing).then(function(result){
$log.info("Delete message ", msgKey,":", result); $log.info("Delete message ", msgKey,":", result);
...@@ -338,7 +338,7 @@ angular.module('ulakbus.messaging', ['ui.bootstrap']) ...@@ -338,7 +338,7 @@ angular.module('ulakbus.messaging', ['ui.bootstrap'])
msg.get_message_actions = function (msgKey) { msg.get_message_actions = function (msgKey) {
var outgoing = { var outgoing = {
view: '_zops_get_message_actions', view: '_zops_get_message_actions',
message_key: msgKey key: msgKey
}; };
return wsRequest(outgoing).then(function(result){ return wsRequest(outgoing).then(function(result){
$log.info("Get message actions", msgKey, ":", result); $log.info("Get message actions", msgKey, ":", result);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<span class="glyphicon glyphicon-remove" ></span> <span class="glyphicon glyphicon-remove" ></span>
</div> </div>
<div class="conversation-body" > <div class="conversation-body" >
Select or create channel to begin conversation Konuşmaya başlamak için bir kanal seçin ya da oluşturun.
</div> </div>
</div> </div>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div class="conversation-body-inner"> <div class="conversation-body-inner">
<div class="beginning-of-conversation"> <div class="beginning-of-conversation">
This is the beginning of the conversation Burası yazışmanın başı!
</div> </div>
<div class="conversation-block clearfix" ng-repeat="msg in selectedChannel.messages"> <div class="conversation-block clearfix" ng-repeat="msg in selectedChannel.messages">
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
<div class="dropup" style="float:left;"> <div class="dropup" style="float:left;">
<span class="glyphicon glyphicon-paperclip dropdown-toggle" data-toggle="dropdown" id="attachment"></span> <span class="glyphicon glyphicon-paperclip dropdown-toggle" data-toggle="dropdown" id="attachment"></span>
<ul class="dropdown-menu" aria-labelledby="attachment" style="left:-104px;"> <ul class="dropdown-menu" aria-labelledby="attachment" style="left:-104px;">
<li><a href="#">Image</a></li> <li><a href="#">Görsel</a></li>
<li><a href="#">File</a></li> <li><a href="#">Dosya</a></li>
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="text-center" style="margin-top: 150px;font-size: 26px;"> <div class="text-center" style="margin-top: 150px;font-size: 26px;">
<p>{{title}}</p> <p>{{title}}</p>
<button class="btn btn-success" style="font-size: 20px;" ng-click="done()">Yes</button> <button class="btn btn-success" style="font-size: 20px;" ng-click="done()">Evet</button>
<button class="btn btn-default" style="font-size: 20px;" ng-click="cancel()">Cancel</button> <button class="btn btn-default" style="font-size: 20px;" ng-click="cancel()">Vazgeç</button>
</div> </div>
</div> </div>
...@@ -6,16 +6,16 @@ ...@@ -6,16 +6,16 @@
<div class="side-navigation"> <div class="side-navigation">
<ul class="channels"> <ul class="channels">
<li class="title" ng-click="selectChannel(notificationsChannel)">NOTIFICATIONS <span class="badge" ng-show="notificationsChannel.unread">{{notificationsChannel.unread}}</span></li> <li class="title" ng-click="selectChannel(notificationsChannel)">BİLDİRİMLER <span class="badge" ng-show="notificationsChannel.unread">{{notificationsChannel.unread}}</span></li>
</ul> </ul>
<ul class="channels"> <ul class="channels">
<li class="title">CHANNELS <span class="add-action glyphicon glyphicon-plus-sign" ng-click="createChannel()"></span></li> <li class="title">KANALLAR <span class="add-action glyphicon glyphicon-plus-sign" ng-click="createChannel()"></span></li>
<li ng-class="{'notification': ch.unread, 'active': isChannelSelected(ch)}" title="{{ch.description}}" ng-repeat="ch in publicChannels" ng-click="selectChannel(ch)">{{ch.name}}</li> <li ng-class="{'notification': ch.unread, 'active': isChannelSelected(ch)}" title="{{ch.description}}" ng-repeat="ch in publicChannels" ng-click="selectChannel(ch)">{{ch.name}}</li>
</ul> </ul>
<ul class="direct-messages"> <ul class="direct-messages">
<li class="title">DIRECT MESSAGES <span class="add-action glyphicon glyphicon-plus-sign" ng-click="searchUser()"></span></li> <li class="title">MESAJLAR <span class="add-action glyphicon glyphicon-plus-sign" ng-click="searchUser()"></span></li>
<li ng-class="{'notification': userChannel.unread, 'active': isChannelSelected(userChannel), 'online': userChannel.is_online}" ng-repeat="userChannel in directChannels" ng-click="selectChannel(userChannel)">{{userChannel.name}}</li> <li ng-class="{'notification': userChannel.unread, 'active': isChannelSelected(userChannel), 'online': userChannel.is_online}" ng-repeat="userChannel in directChannels" ng-click="selectChannel(userChannel)">{{userChannel.name}}</li>
</ul> </ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment