1: <?php
2:
3: namespace OpenCloud\Common;
4:
5: class Lang
6: {
7:
8: public static function translate($word = null)
9: {
10: return $word;
11: }
12:
13: public static function noslash($str)
14: {
15: while ($str && (substr($str, -1) == '/')) {
16: $str = substr($str, 0, strlen($str) - 1);
17: }
18: return $str;
19: }
20:
21: }
22: