Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add slack translation files for Slack messages
- Loading branch information
Amelia Ikeda
committed
Jul 26, 2014
1 parent
aa07897
commit a4523bc
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>", | ||
], | ||
|
||
|
||
]; |