Skip to content

Commit

Permalink
Merge pull request #7853 from jdarwood007/languageDirMove
Browse files Browse the repository at this point in the history
[3.0] Languages Overhaul
  • Loading branch information
Sesquipedalian authored Jan 30, 2024
2 parents 42bbad8 + 55e3dd4 commit 3519459
Show file tree
Hide file tree
Showing 75 changed files with 1,197 additions and 379 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# SMF Generated Files #
#######################
agreement.txt
/Languages/*
!/Languages/index.php
!/Languages/en_US/
/Languages/en_US/agreement.txt
Settings.php
Settings_bak.php
Settings_org.php
Expand Down
1 change: 1 addition & 0 deletions Themes/default/languages/Admin.english.php → Languages/en_US/Admin.php
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Version: 3.0 Alpha 1; Admin

$txt['settings_saved'] = 'The settings were successfully saved';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Version: 3.0 Alpha 1; Agreement

$txt['agreement'] = 'Registration Agreement';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Version: 3.0 Alpha 1; Alerts

// Load Alerts strings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Version: 3.0 Alpha 1; Drafts

// profile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Version: 3.0 Alpha 1; Editor

$editortxt['bold'] = 'Bold';
Expand Down
Loading

2 comments on commit 3519459

@dragomano
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Lang::oldLanguageMap() the same as Lang::LANG_TO_LOCALE?

@Sesquipedalian
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Please sign in to comment.