daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $strings[t($my_string)] = $my_string;
  2.      
  3. $strings = $saved_strings = variable_get('my_translated_strings_' . $language->language, array());
  4.      
  5. if ($strings != $saved_strings) {
  6.   variable_set('my_translated_strings_' . $language->language, $strings);
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top