diff --git a/config/locales/devise/devise.he.yml b/config/locales/devise/devise.he.yml index c33cfa67888cbe958fac58282f8d1c26d3a7fe7e..997ab6df00fdf41990d2d98b3480a45246eb562d 100644 --- a/config/locales/devise/devise.he.yml +++ b/config/locales/devise/devise.he.yml @@ -18,7 +18,7 @@ he: invalid: "הססמה ×ו הדו×״ל שגויי×." invalid_token: "×סימון ×”×ימות שגוי." timeout: "ההפעלה שלך פגה, × × ×œ×”×™×›× ×¡ שוב כדי להמשיך." - inactive: "×—×©×‘×•× ×š ×œ× ×”×•×¤×¢×œ עדין." + inactive: "×—×©×‘×•× ×š ×œ× ×”×•×¤×¢×œ עדיין." sessions: signed_in: "× ×›× ×¡×ª בהצלחה." signed_out: "יצ×ת בהצלחה." diff --git a/config/locales/diaspora/he.yml b/config/locales/diaspora/he.yml index 47f2a52c2946db5df32ded67e9c723642e5b8073..1105a3bcb0253785b765c402f5c173d46c04a667 100644 --- a/config/locales/diaspora/he.yml +++ b/config/locales/diaspora/he.yml @@ -86,7 +86,7 @@ he: add_a_new_aspect: "הוספת היבט חדש" create: "יצי××”" create: - success: "יש ללחוץ על סמל הפלוס שמימין כדי לומר לדי×ספורה מי יעול לצפות בהיבט החדש שלך." + success: "יש ללחוץ על סמל הפלוס שמימין כדי לומר לדי×ספורה מי יכול לצפות בהיבט החדש שלך." destroy: success: "%{name} הוסר בהצלחה." update: @@ -99,7 +99,7 @@ he: success: "כעת יופיע ×‘×¤× ×™ ×”×—×‘×¨×™× ×©×œ×š היבט ×חר שלך." helper: remove: "הסרה" - aspect_not_empty: "ההיסט ××™× ×• ריק" + aspect_not_empty: "ההיבט ××™× ×• ריק" users: edit: editing_profile: "עריכת הפרופיל" @@ -134,13 +134,13 @@ he: delete_photo: "מחיקת ×ª×ž×•× ×”" photo: show_comments: "הצגת הערות" - posted_a_new_photo_to: "פורסמה ×ª×ž×•× ×” חדשה ×ל" + posted_a_new_photo_to: "פורסמה ×ª×ž×•× ×” חדשה ב×לבו×" new: new_photo: "×ª×ž×•× ×” חדשה" back_to_list: "חזרה לרשימה" post_it: "פרסו×!" create: - runtime_error: "העל×ת ×”×ª×ž×•× ×” × ×›×©×œ×”. ×”×× ×”×—×’×•×¨×” שלך מהודקת?" + runtime_error: "העל×ת ×”×ª×ž×•× ×” × ×›×©×œ×”. הידקת ×ת החגורה?" integrity_error: "העל×ת ×”×ª×ž×•× ×” × ×›×©×œ×”. ×”×× ×–×• ב×מת הייתה ×ª×ž×•× ×”?" type_error: "העל×ת ×”×ª×ž×•× ×” × ×›×©×œ×”. ×”×× ×‘×מת × ×•×¡×¤×” ×ª×ž×•× ×”?" update: @@ -155,7 +155,7 @@ he: success: "הצטרפת לדי×ספורה!" status_messages: new_status_message: - tell_me_something_good: "×‘× ×œ×™ לשמוע סיפור טוב" + tell_me_something_good: "×‘× ×œ×™ לשמוע סיפור × ×—×ž×“" oh_yeah: "×חלה!" status_message: show_comments: "הצגת הערות" @@ -165,7 +165,7 @@ he: status_message: "הודעת מצב" comments: "הערות" are_you_sure: "בבטחה?" - destroy: "הריבה" + destroy: "הריסה" view_all: "צפייה בכול" message: "הודעה" owner: "בעלי×" diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 7d072bdd571c2a2d0ad38229527678837609318d..d21b1d57c28ce905b74e13f63efaf5103a853bfe 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -12,12 +12,16 @@ describe User do user = Factory.build(:user, :username => "ALLUPPERCASE") user.valid? user.username.should == "alluppercase" + + user = Factory.build(:user, :username => "someUPPERCASE") + user.valid? + user.username.should == "someuppercase" end end describe '#diaspora_handle' do it 'uses the pod config url to set the diaspora_handle' do - user.diaspora_handle.should == user.username + "@example.org" + user.diaspora_handle.should == user.username + "@" + APP_CONFIG[:terse_pod_url] end end