public
Description: Adds basic social networking capabilities to your existing application, including users, blogs, photos, clippings, favorites, and more.
Homepage: http://www.communityengine.org
Clone URL: git://github.com/bborn/communityengine.git
en-US locale was missing 'cancel' text
bborn (author)
Thu Jul 24 10:58:09 -0700 2008
commit  407943cba2fd8be8792690cd36be4cbb8b7f21ca
tree    4fd6f30fa5ea004b98684d4a515e439193b73bbf
parent  e63b8f70b17db0c062caedde79696d755d5dd42b
...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
 
 
18
19
20
21
...
4
5
6
 
 
 
 
 
 
 
 
 
 
 
7
8
9
10
11
12
13
0
@@ -4,17 +4,9 @@ module UsersHelper
0
   end
0
   
0
   def random_greeting(user)
0
- greetings = [:greeting_1,
0
- :greeting_2,
0
- :greeting_3,
0
- :greeting_4,
0
- :greeting_5,
0
- :greeting_6,
0
- :greeting_7,
0
- :greeting_8,
0
- :greeting_9,
0
- :greeting_10]
0
- return greetings.sort_by {rand}.first().l(:user => user.login)
0
+ greetings = ['Hello', 'Hola', 'Hi ', 'Yo', 'Welcome back,', 'Greetings',
0
+ 'Wassup', 'Aloha', 'Halloo']
0
+ "#{greetings.sort_by {rand}.first} #{user.login}!"
0
   end
0
   
0
 end
0
\ No newline at end of file
...
 
1
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
+cancel: Cancel
0
 #en: about_site: About {site}
0
 about_site: About {site}
0
 #en: account_activation_error: Account activation failed. Your account may already be active. Try logging in or e-mail {email} for help.

Comments

    No one has commented yet.