Skip to content

Commit

Permalink
Add slack translation files for Slack messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Amelia Ikeda committed Jul 26, 2014
1 parent aa07897 commit a4523bc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/lang/en/slack.php
@@ -0,0 +1,31 @@
<?php

/*
* This file should not be translated unless you are working with a
* custom installation of R/a/dio in another language and are using Slack.
*/

// sucky
$radio_slack = "<https://r-a-d.io/admin/users/:user|:name>";

return [

"news" => [
"add" => "@channel {$radio_slack} just posted a news article: <https://r-a-d.io/news/:id|:title>",
"edit" => "{$radio_slack} edited a news article: <https://r-a-d.io/news/:id|:title",
"delete" => "{$radio_slack} deleted a news article: <https://r-a-d.io/admin/news/:id|:title>",
],
"user" => [
"add" => "@channel {$radio_slack} added a new user: <https://r-a-d.io/admin/users/:id|:target>",
"edit" => "{$radio_slack} edited a user: <https://r-a-d.io/admin/users/:id|:target>",
"delete" => "@channel {$radio_slack} deleted a user: <https://r-a-d.io/admin/users/:id|:target>",
"denied" => "@channel {$radio_slack} attempted to update permissions for <https://r-a-d.io/admin/users/:id|:target> (email: :email; privileges: :privileges)",
],
"pending" => [
"accepted" => "{$radio_slack} just accepted <https://r-a-d.io/admin/song/:id|:meta [:album]> (:tags)",
"declined" => "{$radio_slack} just declined <https://r-a-d.io/admin/deleted-songs/:id|:meta> with the reason \":reason\"",
"replaced" => "{$radio_slack} just replaced <https://r-a-d.io/admin/song/:id|:meta>",
],


];

0 comments on commit a4523bc

Please sign in to comment.