fixes
This commit is contained in:
parent
49a453b631
commit
2348f803f2
|
@ -127,7 +127,7 @@ class ApiQvitterOembedNoticeAction extends ApiAction
|
|||
} catch (ServerException $e) {
|
||||
//
|
||||
}
|
||||
if(method_exists('File_thumbnail','url')) {
|
||||
if(!empty($thumb) && method_exists('File_thumbnail','url')) {
|
||||
try {
|
||||
$thumb_url = File_thumbnail::url($thumb->filename);
|
||||
$oembed['thumbnail_url'] = $thumb_url;
|
||||
|
|
|
@ -446,8 +446,6 @@ class QvitterAction extends ApiAction
|
|||
}
|
||||
|
||||
?>
|
||||
<li class="fullwidth language dropdown-divider"></li>
|
||||
<li class="fullwidth"><a href="https://git.gnu.io/h2p/Qvitter/tree/master/locale" target="_blank" id="add-edit-language-link"></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
,
|
||||
"addEditLanguageLink":"Help translate {site-title} to your language"{
|
||||
{
|
||||
"directionality":"rtl",
|
||||
"languageName": "فارسی",
|
||||
"loginUsername": "شناسه یا ایمیل",
|
||||
|
|
Loading…
Reference in New Issue
Block a user