Replace == with empty?

このコミットが含まれているのは:
techmetx11 2023-01-15 16:26:51 +01:00 committed by Samantaz Fox
コミット 4ac263f1df
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: F42821059186176E
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -181,7 +181,7 @@ we're going to need to do it here in order to allow for translations.
<% end %>
</p>
<% if video.license %>
<% if video.license == "" %>
<% if video.license.empty? %>
<p id="license"><%= translate(locale, "License: ") %><%= translate(locale, "Standard YouTube license") %></p>
<% else %>
<p id="license"><%= translate(locale, "License: ") %><%= video.license %></p>