mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
add ach pluralization fonction for messageFormat
This commit is contained in:
parent
98315c132e
commit
40e8b60a0a
@ -14,6 +14,7 @@
|
||||
<link href='https://fonts.googleapis.com/css?family=Loved+by+the+King' rel='stylesheet' type='text/css'>
|
||||
<% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation == 'true' %>
|
||||
<script type="text/javascript">
|
||||
MessageFormat.locale.ach=function(n){return n===0||n===1?"one":"other"};
|
||||
var _jipt = [];
|
||||
_jipt.push(['project', 'fab-manager']);
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user