summaryrefslogtreecommitdiffstats
path: root/app/helpers/timelog_helper.rb
blob: 22e4eba0b447b49c0c21b2249c75e91310f57ace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# redMine - project management software
# Copyright (C) 2006  Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

module TimelogHelper
  def select_hours(data, criteria, value)
    data.select {|row| row[criteria] == value.to_s}
  end
  
  def sum_hours(data)
    sum = 0
    data.each do |row|
      sum += row['hours'].to_f
    end
    sum
  end
end
a-cert-bundle Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/l10n/it.js
blob: 466e0fc7ded5be330ca828d9fd52769ef3cdaa2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
OC.L10N.register(
    "user_status",
    {
    "Recent statuses" : "Stati recenti",
    "In a meeting" : "In una riunione",
    "Commuting" : "Pendolare",
    "Out sick" : "In malattia",
    "Vacationing" : "In vacanza",
    "Working remotely" : "Lavoro da remoto",
    "In a call" : "In una chiamata",
    "User status" : "Stato utente",
    "View profile" : "Vedi profilo",
    "Clear status after" : "Togli lo stato dopo",
    "Emoji for your status message" : "Emoji per il tuo messaggio di stato",
    "What is your status?" : "Qual è il tuo stato?",
    "Predefined statuses" : "Stati predefiniti",
    "Previously set" : "Impostato in precedenza",
    "Reset status" : "Ripristina stato",
    "Set status" : "Imposta stato",
    "Online status" : "Stato in linea",
    "Status message" : "Messaggio di stato",
    "Your status was set automatically" : "Stato impostato automaticamente",
    "Clear status message" : "Cancella il messaggio di stato",
    "Set status message" : "Imposta messaggio di stato",
    "Reset status to \"{icon} {message}\"" : "Ripristina stato a \"{icon} {message}\"",
    "Reset status to \"{message}\"" : "Ripristina stato a \"{message}\"",
    "Reset status to \"{icon}\"" : "Ripristina stato a \"{icon}\"",
    "There was an error saving the status" : "Si è verificato un errore durante il salvataggio dello stato",
    "There was an error clearing the status" : "Si è verificato un errore durante la rimozione dello stato",
    "There was an error reverting the status" : "Si è verificato un errore ripristinando lo stato",
    "No recent status changes" : "Nessun cambio di stato recente",
    "Away" : "Assente",
    "Do not disturb" : "Non disturbare",
    "{status}, {timestamp}" : "{status}, {timestamp}",
    "Don't clear" : "Non togliere",
    "Today" : "Oggi",
    "This week" : "Questa settimana",
    "Online" : "In linea",
    "Invisible" : "Invisibile",
    "Offline" : "Non in linea",
    "There was an error saving the new status" : "Si è verificato un errore durante il salvataggio del nuovo stato",
    "30 minutes" : "30 minuti",
    "1 hour" : "1 ora",
    "4 hours" : "4 ore",
    "Mute all notifications" : "Silenzia tutte le notifiche",
    "Appear offline" : "Mostrati non in linea"
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");