Commit Graph

21397 Commits

Author SHA1 Message Date
Tristan Olive 65fb1d1049 Fixed handling of unauthorized requests to update official BOINC translations
(DBOINCP-141)
2015-04-17 12:34:46 -04:00
Tristan Olive 8d13b21ee8 Do not try to update the Official BOINC resource, as this is handled by other means; only update translations
Also be sure to skip updating english translations (this was done improperly)

(DBOINCP-141)
2015-04-17 12:23:48 -04:00
Tristan Olive c096ade1a6 Reordered BOINC resources on Transifex settings form and no longer require special permission to see the Official BOINC Drupal resource setting
(DBOINCP-141)
2015-04-17 11:41:13 -04:00
Tristan Olive 8650fc3871 Added handling for HTTP 405 status when doing Transifex requests; this covers attempts to POST updates through the API when the configured user does not have permission to do so
(DBOINCP-141)
2015-04-17 11:39:12 -04:00
Tristan Olive 50bf1687b7 Do not create the official BOINC Transifex resource if it does not exist already
(DBOINCP-141)
2015-04-17 11:02:40 -04:00
Tristan Olive 8caf89cf8e Updated boinctranslate_update_official_boinc_translations() tool to use a configurable resource name
(DBOINCP-141)
2015-04-17 02:04:37 -04:00
Tristan Olive b18adf9388 Added configuration file for manually adding strings to the BOINC textgroup; this is useful if a string on a public page needs to be translated, but is not otherwise being exported to Transifex (add one string per line)
(DBOINCP-141)
2015-04-16 02:24:07 -04:00
Tristan Olive 18c2522442 Added translation tool to Update official BOINC translations from strings in the "boinc" textgroup
(DBOINCP-141)
2015-04-16 01:24:31 -04:00
Tristan Olive b29c43674a Replaced t() with bts() so that custom strings are inserted into the boinc textgroup for translation
(DBOINCP-141)
2015-04-16 00:17:52 -04:00
Tristan Olive 26df782034 Replaced t() calls with bts() to get custom strings into the boinc textgroup for translation
(DBOINCP-141)
2015-04-16 00:13:33 -04:00
Tristan Olive e5b58ec9a3 Reorganized home page content so title is translatable using bts() instead of t()
(DBOINCP-141)
2015-04-16 00:12:42 -04:00
Tristan Olive 145498c300 Because Rich text is the default input format, it must be configured as a translatable format or i18nstrings() translation doesn't work
(DBOINCP-141)
2015-04-16 00:09:58 -04:00
Tristan Olive e2daad91fc Defined "update official BOINC translations" permission for controlling access to some translation management tools
(DBOINCP-141)
2015-04-15 23:54:03 -04:00
Tristan Olive 8d33399281 Added BOINC translation textgroup; established bts() translation function to use instead of t() to add strings to the BOINC textgroup
(DBOINCP-141)
2015-04-15 23:51:04 -04:00
Tristan Olive bb45d45990 Apply any local translations available when initializing BOINC languages or importing / refreshing translations
(DBOINCP-141)
2015-04-09 15:57:00 -04:00
Tristan Olive d2807e5df4 Added Localization update module to allow upstream Drupal / module translations to be downloaded.
(DBOINCP-140)
2015-03-25 00:48:50 -04:00
Tristan Olive a16cdcf109 Converted boinctranslate import process to use batch processing (to show progress)
(DBOINCP-141)
2015-03-23 16:41:24 -04:00
Tristan Olive 12e88500fa Fixed typo in boincimport status message 2015-03-23 16:39:45 -04:00
Tristan Olive 2e9a94b60c Skip languages with no translated strings from translation export (to avoid Transifex error messages that no strings were found)
(DBOINCP-141)
2015-03-18 09:59:10 -04:00
Tristan Olive 9514abe572 Removed explicit mapping of Transifex codes to Drupal codes; rely on fuzzy matching
(DBOINCP-141)
2015-03-16 16:41:56 -04:00
Tristan Olive 0b35fae65d Add "drupal-project" resource to Project-specific resources config on translation export, if it doesn't exist already
(DBOINCP-141)
2015-03-16 16:37:29 -04:00
Tristan Olive b64ac2b039 Improved ambiguous resource update message displayed during translation export
(DBOINCP-141)
2015-03-16 16:06:17 -04:00
Tristan Olive db00eb0e35 Reordered tool buttons on Translation environment settings page
(DBOINCP-141)
2015-03-13 16:22:29 -04:00
Tristan Olive 2213a260b3 Replaced hard-coded exceptions with fuzzy mapping of POSIX locale codes to RFC5646 languages codes
(DBOINCP-141)
2015-03-12 13:14:13 -04:00
Tristan Olive 3245e6fbf9 Fixed language export request formatting
(DBOINCP-141)
2015-03-12 12:45:29 -04:00
Tristan Olive eb024cbcc7 Added Transifex-Drupal language code mappings for it, pt-br, and pt-pt
(DBOINCP-141)
2015-03-12 11:35:44 -04:00
Tristan Olive 5a6340076d Improved error message in language initialization when possibly due to Transifex account permissions
(DBOINCP-141)
2015-03-12 11:34:26 -04:00
Tristan Olive 6753c52a65 Fixed error message in language initialization
(DBOINCP-141)
2015-03-12 10:30:56 -04:00
Tristan Olive 22c9e44655 Added translation tool to export existing translations
* NOTE: NOT YET FUNCTIONAL
* Created a function for handling Transifex requests

(DBOINCP-141)
2015-03-12 02:40:48 -04:00
Tristan Olive d88477c9e2 Added tool to Install official BOINC languages in translation environment config
(DBOINCP-141)
2015-03-11 01:50:37 -04:00
Tristan Olive 7389bf9b2d Updated BOINC translation settings form
* Added fields to configure Transifex settings for BOINC project
* Added Tools section for Import translations button
* Collapse Transifex settings section when configuration is complete

(DBOINCP-141)
2015-03-10 22:42:49 -04:00
Tristan Olive dd26d1f7dc Removed repetitive notices following translation string import
(DBOINCP-141)
2015-03-04 02:44:48 -05:00
Tristan Olive 56baa82cff Overhauled translation import:
* Integrate more tightly with the Transifex API
* Accept a Transifex user name and password in the configuration
* Accept multiple project:resource tuples that define which Transifex resources to import
* Automatically import boinc:project-generic and boinc:web resources
* Import translations for all enabled languages (other than 'en')
* Import boinc resources into default, taxonomy, and views textgroups
* Import project resources into blocks, menu, and project textgroups

(DBOINCP-141)
2015-03-04 02:02:56 -05:00
Tristan Olive 0e40bb1895 Added ability to enter separate translation file URLs for project specific strings
(DBOINCP-141)
2015-02-17 02:24:38 -05:00
Tristan Olive 32ec9f1ee9 Handle JSON responses from translation file URLs
(DBOINCP-141)
2015-02-17 01:40:57 -05:00
Tristan Olive c2d27a1ac5 Prevent translation of content for disabled views
(DBOINCP-141)
2015-02-06 12:44:43 -05:00
Tristan Olive fc1bcba924 The i18nviews module must be customized to eliminate warnings about translating disabled views
(DBOINCP-141)
2015-02-06 12:38:36 -05:00
Tristan Olive 6d53582714 Added project textgroup refresh function
(DBOINCP-141)
2015-02-05 23:44:09 -05:00
Tristan Olive 8776873a20 Fixed input format warnings when refreshing translation strings:
* Added plain text input format
* Enable translation of input only when in plain text format
* Updated views to use the plain text format for headers, footers, and empty text (placeholder)

(DBOINCP-141)
2015-02-04 16:36:00 -05:00
Tristan Olive 3beed68755 Allow translations for Page content
(DBOINCP-141)
2015-02-03 01:45:10 -05:00
Tristan Olive 9f854f5505 Removed debugging info from account dashboard
(DBOINCP-141)
2015-02-03 01:28:20 -05:00
Tristan Olive 99074c219c Removed PHP code from views headers and footers; i18nviews module added PHP code as translatable strings. Move all of this code to the theme template in boinc_preprocess_views_view()
(DBOINCP-141)
2015-02-03 00:23:12 -05:00
Oliver Bock 2afa5bde53 Updated community admin section's wording 2015-01-28 11:39:14 +01:00
Oliver Bock 6f2e2a67bc Improved registration info wording 2015-01-28 11:26:02 +01:00
Tristan Olive a1ecf63490 Show join instructions conditionally based on whether web registration is enabled or not
(DBOINCP-187)
2015-01-27 20:50:36 -05:00
Tristan Olive 6155229c3b Disable web registration and updated instructions for BOINC users trying to join
(DBOINCP-187)
2015-01-27 20:41:28 -05:00
Tristan Olive 46ce4276d6 Require that a user be a verified contributor before allowing access to create a profile or team forum content
(DBOINCP-187)
2015-01-27 20:23:10 -05:00
Tristan Olive 59dce4f257 Removed redundant t() calls in view definitions
(DBOINCP-141)
2015-01-27 00:47:38 -05:00
Tristan Olive 7dde43f0a7 Enable core picture support to satisfy Gravatar module; remove any subsequent core picture content from the user profile form
(DBOINCP-24)
2015-01-27 00:00:42 -05:00
Tristan Olive 31419f1271 Remove condition to render language selector on community prefs form using radio buttons when 5 or fewer languages are available
(DBOINCP-141)
2015-01-26 23:29:58 -05:00