Improved handling of certain cases.
This commit is contained in:
parent
8ecc01401c
commit
eb4ecc5aa7
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ get list of translations
|
||||||
]
|
]
|
||||||
list.push translation_item
|
list.push translation_item
|
||||||
end
|
end
|
||||||
data['list'] = list
|
|
||||||
}
|
}
|
||||||
|
data['list'] = list
|
||||||
|
|
||||||
# set cache
|
# set cache
|
||||||
if !admin
|
if !admin
|
||||||
|
@ -234,8 +234,8 @@ translate strings in ruby context, e. g. for notifications
|
||||||
private
|
private
|
||||||
|
|
||||||
def set_initial
|
def set_initial
|
||||||
|
|
||||||
return if target_initial
|
return if target_initial
|
||||||
|
return if target_initial == ''
|
||||||
self.target_initial = target
|
self.target_initial = target
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue