From 80eee8d5ecf5be9beef9e6ce22af48adc37fd0cf Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 16 Sep 2014 20:12:52 +0400 Subject: [PATCH] Migrate remaining modal views to msgid --- app/partials/chat_create_modal.html | 10 +-- app/partials/chat_edit_modal.html | 10 +-- app/partials/chat_modal.html | 37 ++++---- app/partials/confirm_modal.html | 79 ++++++++-------- app/partials/contacts_modal.html | 39 ++++---- app/partials/country_select_modal.html | 8 +- app/partials/dialog.html | 41 ++++----- app/partials/edit_contact_modal.html | 12 +-- app/partials/error_modal.html | 90 +++++++------------ app/partials/import_contact_modal.html | 16 ++-- app/partials/mobile/chat_modal.html | 35 ++++---- app/partials/mobile/contacts_modal.html | 35 +++----- app/partials/mobile/country_select_modal.html | 6 +- app/partials/mobile/peer_select.html | 8 +- app/partials/mobile/phonebook_modal.html | 21 ++--- app/partials/mobile/settings_modal.html | 35 ++++---- app/partials/mobile/user_modal.html | 20 ++--- app/partials/peer_select.html | 8 +- app/partials/photo_modal.html | 8 +- app/partials/profile_edit_modal.html | 12 +-- app/partials/settings_modal.html | 46 +++++----- app/partials/user_modal.html | 25 +++--- app/partials/video_modal.html | 8 +- 23 files changed, 286 insertions(+), 323 deletions(-) diff --git a/app/partials/chat_create_modal.html b/app/partials/chat_create_modal.html index 28cb5493..197a0e95 100644 --- a/app/partials/chat_create_modal.html +++ b/app/partials/chat_create_modal.html @@ -6,10 +6,10 @@ @@ -17,8 +17,8 @@ - \ No newline at end of file + diff --git a/app/partials/chat_edit_modal.html b/app/partials/chat_edit_modal.html index a73bb27c..367ed855 100644 --- a/app/partials/chat_edit_modal.html +++ b/app/partials/chat_edit_modal.html @@ -6,10 +6,10 @@ @@ -17,8 +17,8 @@ - \ No newline at end of file + diff --git a/app/partials/chat_modal.html b/app/partials/chat_modal.html index b6cc69e4..e74361cc 100644 --- a/app/partials/chat_modal.html +++ b/app/partials/chat_modal.html @@ -19,39 +19,42 @@

+ when="group_modal_pluralize_participants">

- - - + + + - Update photo + - Updating + @@ -62,26 +65,26 @@
\ No newline at end of file + diff --git a/app/partials/contacts_modal.html b/app/partials/contacts_modal.html index dbb63005..443bc0b4 100644 --- a/app/partials/contacts_modal.html +++ b/app/partials/contacts_modal.html @@ -6,28 +6,24 @@

- + - New Group +
- Contacts +

@@ -37,8 +33,8 @@
-
- Your contacts list is empty. You can add new contact by phone number. +
+ {0}
\ No newline at end of file +
diff --git a/app/partials/country_select_modal.html b/app/partials/country_select_modal.html index c7331877..84861e1b 100644 --- a/app/partials/country_select_modal.html +++ b/app/partials/country_select_modal.html @@ -2,10 +2,10 @@ -
\ No newline at end of file + diff --git a/app/partials/dialog.html b/app/partials/dialog.html index ff3b8b95..286483a2 100644 --- a/app/partials/dialog.html +++ b/app/partials/dialog.html @@ -33,7 +33,7 @@
- deleted message +
@@ -44,39 +44,36 @@ >You{{((dialogMessage.out || dialogMessage.peerID < 0) && (dialogMessage.message.length || dialogMessage.media && dialogMessage.media._ != 'messageMediaEmpty')) ? ':' : ''}} + my-i18n="conversation_you" + >{{((dialogMessage.out || dialogMessage.peerID < 0) && (dialogMessage.message.length || dialogMessage.media && dialogMessage.media._ != 'messageMediaEmpty')) ? ':' : ''}} - Photo - Video - Document - Audio - Location - Contact + + + + + + - created the group - changed group name - changed group photo - removed group photo + + + + - - returned to group - - - invited + + + - - left group - - - kicked + + + diff --git a/app/partials/edit_contact_modal.html b/app/partials/edit_contact_modal.html index ab09c62e..8261f38d 100644 --- a/app/partials/edit_contact_modal.html +++ b/app/partials/edit_contact_modal.html @@ -6,16 +6,16 @@ @@ -23,8 +23,8 @@
-
\ No newline at end of file + diff --git a/app/partials/error_modal.html b/app/partials/error_modal.html index d8115053..61aa2eeb 100644 --- a/app/partials/error_modal.html +++ b/app/partials/error_modal.html @@ -5,68 +5,44 @@ @@ -84,4 +60,4 @@ Stack: {{error.stack}} - \ No newline at end of file + diff --git a/app/partials/import_contact_modal.html b/app/partials/import_contact_modal.html index 9cd14722..db9e5096 100644 --- a/app/partials/import_contact_modal.html +++ b/app/partials/import_contact_modal.html @@ -6,16 +6,16 @@ @@ -23,9 +23,9 @@ - \ No newline at end of file + diff --git a/app/partials/mobile/chat_modal.html b/app/partials/mobile/chat_modal.html index b56b0db6..e41c461b 100644 --- a/app/partials/mobile/chat_modal.html +++ b/app/partials/mobile/chat_modal.html @@ -12,16 +12,16 @@ @@ -33,7 +33,7 @@ @@ -60,7 +60,7 @@

+ when="group_modal_pluralize_participants">

@@ -68,41 +68,42 @@
- Add member +
- Return to group +
- Return to group +
- Update photo +
- - Updating + + +
- Notifications +
-

Members

+

- Kick + @@ -114,9 +115,7 @@
-
- Group members list is unavailable. -
+
diff --git a/app/partials/mobile/contacts_modal.html b/app/partials/mobile/contacts_modal.html index df8b569f..dd3e10be 100644 --- a/app/partials/mobile/contacts_modal.html +++ b/app/partials/mobile/contacts_modal.html @@ -8,12 +8,8 @@
@@ -43,7 +39,7 @@ - \ No newline at end of file + diff --git a/app/partials/mobile/country_select_modal.html b/app/partials/mobile/country_select_modal.html index 49b606f6..5e108da7 100644 --- a/app/partials/mobile/country_select_modal.html +++ b/app/partials/mobile/country_select_modal.html @@ -11,7 +11,7 @@ @@ -26,7 +26,7 @@ - \ No newline at end of file + diff --git a/app/partials/mobile/peer_select.html b/app/partials/mobile/peer_select.html index c7dbcb61..f8f6cdb5 100644 --- a/app/partials/mobile/peer_select.html +++ b/app/partials/mobile/peer_select.html @@ -15,7 +15,7 @@ @@ -32,7 +32,7 @@
@@ -43,7 +43,7 @@
  • -
    Contacts
    +
    -
    \ No newline at end of file + diff --git a/app/partials/mobile/phonebook_modal.html b/app/partials/mobile/phonebook_modal.html index c3dae07f..5899b1eb 100644 --- a/app/partials/mobile/phonebook_modal.html +++ b/app/partials/mobile/phonebook_modal.html @@ -9,15 +9,15 @@
    -
    Contacts
    +
    - \ No newline at end of file + diff --git a/app/partials/photo_modal.html b/app/partials/photo_modal.html index 6f10fb04..13ce2fd0 100644 --- a/app/partials/photo_modal.html +++ b/app/partials/photo_modal.html @@ -6,9 +6,9 @@

    @@ -19,4 +19,4 @@

    - \ No newline at end of file + diff --git a/app/partials/profile_edit_modal.html b/app/partials/profile_edit_modal.html index dd0e0e40..e2471fad 100644 --- a/app/partials/profile_edit_modal.html +++ b/app/partials/profile_edit_modal.html @@ -6,13 +6,13 @@ @@ -20,8 +20,8 @@ - \ No newline at end of file + diff --git a/app/partials/settings_modal.html b/app/partials/settings_modal.html index 5d33d53c..ae55bdfd 100644 --- a/app/partials/settings_modal.html +++ b/app/partials/settings_modal.html @@ -22,23 +22,27 @@
    - Set profile photo + - Updating + + @@ -49,30 +53,30 @@
    \ No newline at end of file +