From e36c30d28591200844d3cb16c43c7e0a1f90959a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 22 Nov 2012 15:06:15 +0100 Subject: [PATCH 1/5] Vier: Margin problems with code fixed. --- include/network.php | 2 +- view/theme/vier/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/network.php b/include/network.php index edd03d557a..599088a2da 100644 --- a/include/network.php +++ b/include/network.php @@ -99,7 +99,7 @@ if(! function_exists('post_url')) { function post_url($url,$params, $headers = null, &$redirects = 0, $timeout = 0) { $a = get_app(); $ch = curl_init($url); - if(($redirects > 8) || (! $ch)) + if(($redirects > 8) || (! $ch)) return false; curl_setopt($ch, CURLOPT_HEADER, true); diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 2c4a7c7049..0d09597bbf 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -398,6 +398,7 @@ code { color: #444; padding: 10px; margin-top: 20px; + max-width: 640px; } #panel { position: absolute; From 88f58657381ce6dd746688e5d57b1a899312d844 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 23 Nov 2012 12:15:03 +0100 Subject: [PATCH 2/5] Vier: Maximum with for content area --- view/theme/vier/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 0d09597bbf..f8209f1f24 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1046,7 +1046,7 @@ section { .wall-item-container .wall-item-content { font-size: 13px; - max-width: 720px; + max-width: 660px; word-wrap: break-word; line-height: 1.4; } From 480af990ece30ce7fc6267d614c525cdd5b5f9ce Mon Sep 17 00:00:00 2001 From: Vasya Novikov Date: Mon, 3 Dec 2012 00:14:34 +0400 Subject: [PATCH 3/5] added translations where they were empty --- view/ru/messages.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/view/ru/messages.po b/view/ru/messages.po index 354c436fcc..d0d05848f8 100644 --- a/view/ru/messages.po +++ b/view/ru/messages.po @@ -1717,11 +1717,11 @@ msgstr "Разблокировать" #: ../../mod/contacts.php:315 ../../mod/contacts.php:374 #: ../../mod/admin.php:697 msgid "Block" -msgstr "Блокировать" +msgstr "Заблокировать" #: ../../mod/contacts.php:318 msgid "Toggle Blocked status" -msgstr "" +msgstr "Изменить статус блокированности (заблокировать/разблокировать)" #: ../../mod/contacts.php:321 ../../mod/contacts.php:375 msgid "Unignore" @@ -1729,19 +1729,19 @@ msgstr "Не игнорировать" #: ../../mod/contacts.php:324 msgid "Toggle Ignored status" -msgstr "" +msgstr "Изменить статус игнорирования" #: ../../mod/contacts.php:328 msgid "Unarchive" -msgstr "" +msgstr "Разархивировать" #: ../../mod/contacts.php:328 msgid "Archive" -msgstr "" +msgstr "Архивировать" #: ../../mod/contacts.php:331 msgid "Toggle Archive status" -msgstr "" +msgstr "Сменить статус архивации (архивирова/не архивировать)" #: ../../mod/contacts.php:334 msgid "Repair" @@ -1749,11 +1749,11 @@ msgstr "Восстановить" #: ../../mod/contacts.php:337 msgid "Advanced Contact Settings" -msgstr "" +msgstr "Дополнительные Настройки Контакта" #: ../../mod/contacts.php:343 msgid "Communications lost with this contact!" -msgstr "" +msgstr "Связь с контактом утеряна!" #: ../../mod/contacts.php:346 msgid "Contact Editor" @@ -1826,7 +1826,7 @@ msgstr "В настоящее время игнорируется" #: ../../mod/contacts.php:380 msgid "Currently archived" -msgstr "" +msgstr "В данный момент архивирован" #: ../../mod/contacts.php:381 msgid "" @@ -1839,7 +1839,7 @@ msgstr "" #: ../../mod/contacts.php:437 msgid "Suggest potential friends" -msgstr "" +msgstr "Предложить потенциального знакомого" #: ../../mod/contacts.php:440 ../../mod/group.php:191 msgid "All Contacts" @@ -1847,35 +1847,35 @@ msgstr "Все контакты" #: ../../mod/contacts.php:443 msgid "Show all contacts" -msgstr "" +msgstr "Показать все контакты" #: ../../mod/contacts.php:446 msgid "Unblocked" -msgstr "" +msgstr "Не блокирован" #: ../../mod/contacts.php:449 msgid "Only show unblocked contacts" -msgstr "" +msgstr "Показать только не блокированные контакты" #: ../../mod/contacts.php:453 msgid "Blocked" -msgstr "" +msgstr "Заблокирован" #: ../../mod/contacts.php:456 msgid "Only show blocked contacts" -msgstr "" +msgstr "Показать только блокированные контакты" #: ../../mod/contacts.php:460 msgid "Ignored" -msgstr "" +msgstr "Игнорирован" #: ../../mod/contacts.php:463 msgid "Only show ignored contacts" -msgstr "" +msgstr "Показать только игнорируемые контакты" #: ../../mod/contacts.php:467 msgid "Archived" -msgstr "" +msgstr "Архивированные" #: ../../mod/contacts.php:470 msgid "Only show archived contacts" @@ -1883,7 +1883,7 @@ msgstr "" #: ../../mod/contacts.php:474 msgid "Hidden" -msgstr "" +msgstr "Скрытые" #: ../../mod/contacts.php:477 msgid "Only show hidden contacts" From d548d1943f09a01d5b553d4d66404728d85b5b50 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 3 Dec 2012 08:29:41 +0100 Subject: [PATCH 4/5] vier: maximum width of comments defined --- view/theme/vier/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index f8209f1f24..f5e64ca478 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1129,6 +1129,10 @@ section { width: 665px; border-bottom: 1px solid hsl(198, 21%, 79%); } +.wall-item-container.comment .wall-item-content { + max-width: 585px; +} + .wall-item-container.comment .contact-photo { width: 32px; height: 32px; From 71054f1483a1da101c74e9a250da88ee33c97ba3 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 3 Dec 2012 09:35:07 +0100 Subject: [PATCH 5/5] RU: update to the strings --- view/ru/strings.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/view/ru/strings.php b/view/ru/strings.php index 87daa7b57d..e6f6efaf34 100644 --- a/view/ru/strings.php +++ b/view/ru/strings.php @@ -375,16 +375,16 @@ $a->strings["%d contact in common"] = array( ); $a->strings["View all contacts"] = "Показать все контакты"; $a->strings["Unblock"] = "Разблокировать"; -$a->strings["Block"] = "Блокировать"; -$a->strings["Toggle Blocked status"] = ""; +$a->strings["Block"] = "Заблокировать"; +$a->strings["Toggle Blocked status"] = "Изменить статус блокированности (заблокировать/разблокировать)"; $a->strings["Unignore"] = "Не игнорировать"; -$a->strings["Toggle Ignored status"] = ""; -$a->strings["Unarchive"] = ""; -$a->strings["Archive"] = ""; -$a->strings["Toggle Archive status"] = ""; +$a->strings["Toggle Ignored status"] = "Изменить статус игнорирования"; +$a->strings["Unarchive"] = "Разархивировать"; +$a->strings["Archive"] = "Архивировать"; +$a->strings["Toggle Archive status"] = "Сменить статус архивации (архивирова/не архивировать)"; $a->strings["Repair"] = "Восстановить"; -$a->strings["Advanced Contact Settings"] = ""; -$a->strings["Communications lost with this contact!"] = ""; +$a->strings["Advanced Contact Settings"] = "Дополнительные Настройки Контакта"; +$a->strings["Communications lost with this contact!"] = "Связь с контактом утеряна!"; $a->strings["Contact Editor"] = "Редактор контакта"; $a->strings["Profile Visibility"] = "Видимость профиля"; $a->strings["Please choose the profile you would like to display to %s when viewing your profile securely."] = "Пожалуйста, выберите профиль, который вы хотите отображать %s, когда просмотр вашего профиля безопасен."; @@ -401,21 +401,21 @@ $a->strings["Update public posts"] = "Обновить публичные соо $a->strings["Update now"] = "Обновить сейчас"; $a->strings["Currently blocked"] = "В настоящее время заблокирован"; $a->strings["Currently ignored"] = "В настоящее время игнорируется"; -$a->strings["Currently archived"] = ""; +$a->strings["Currently archived"] = "В данный момент архивирован"; $a->strings["Replies/likes to your public posts may still be visible"] = ""; $a->strings["Suggestions"] = ""; -$a->strings["Suggest potential friends"] = ""; +$a->strings["Suggest potential friends"] = "Предложить потенциального знакомого"; $a->strings["All Contacts"] = "Все контакты"; -$a->strings["Show all contacts"] = ""; -$a->strings["Unblocked"] = ""; -$a->strings["Only show unblocked contacts"] = ""; -$a->strings["Blocked"] = ""; -$a->strings["Only show blocked contacts"] = ""; -$a->strings["Ignored"] = ""; -$a->strings["Only show ignored contacts"] = ""; -$a->strings["Archived"] = ""; +$a->strings["Show all contacts"] = "Показать все контакты"; +$a->strings["Unblocked"] = "Не блокирован"; +$a->strings["Only show unblocked contacts"] = "Показать только не блокированные контакты"; +$a->strings["Blocked"] = "Заблокирован"; +$a->strings["Only show blocked contacts"] = "Показать только блокированные контакты"; +$a->strings["Ignored"] = "Игнорирован"; +$a->strings["Only show ignored contacts"] = "Показать только игнорируемые контакты"; +$a->strings["Archived"] = "Архивированные"; $a->strings["Only show archived contacts"] = ""; -$a->strings["Hidden"] = ""; +$a->strings["Hidden"] = "Скрытые"; $a->strings["Only show hidden contacts"] = ""; $a->strings["Mutual Friendship"] = "Взаимная дружба"; $a->strings["is a fan of yours"] = "является вашим поклонником";