diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 4a62dc1..dce0f66 100755 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -32,7 +32,7 @@ en: dfp_target_post_bottom_key_code: "Input custom targeting keys - inventory Level" dfp_target_post_bottom_value_code: "Input custom targeting values - inventory Level" - adsense_publisher_code: "Input your publisher ID" + adsense_publisher_code: "Your publisher ID. Enter only the number, excluding 'pub-'." adsense_through_trust_level: "Show your ads to users based on trust levels. Users with trust level higher than this value will not see ads." adsense_topic_list_top_code: "Enter code of the ad unit to display at topic list top location. This is the number assigned to the ad unit, not the JavaScript code." adsense_mobile_topic_list_top_code: "Enter code of the ad unit to display mobile ads at topic list top location. This is the number assigned to the ad unit, not the JavaScript code." @@ -47,6 +47,7 @@ en: adsense_mobile_post_bottom_code: "Enter code of the ad unit to display mobile ads at post bottom location. This is the number assigned to the ad unit, not the JavaScript code." adsense_post_bottom_ad_sizes: "Choose your ad sizes" adsense_nth_post_code: "Show an ad after every N posts, where N is this value." + amazon_through_trust_level: "Show your ads to users based on trust levels. Users with trust level higher than this value will not see ads." amazon_topic_list_top_src_code: "Enter src code to display at topic list top location" amazon_topic_list_top_ad_width_code: "Input your ad width" diff --git a/config/settings.yml b/config/settings.yml index 3800ec2..5b86a63 100755 --- a/config/settings.yml +++ b/config/settings.yml @@ -2,6 +2,7 @@ adsense_plugin: adsense_publisher_code: client: true default: '' + regex: '^[\d]*$' adsense_through_trust_level: client: true default: 2 @@ -10,10 +11,12 @@ adsense_plugin: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_mobile_topic_list_top_code: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_topic_list_top_ad_sizes: client: true default: '728*90 - leaderboard' @@ -33,10 +36,12 @@ adsense_plugin: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_mobile_topic_above_post_stream_code: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_topic_above_post_stream_ad_sizes: client: true default: '728*90 - leaderboard' @@ -56,10 +61,12 @@ adsense_plugin: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_mobile_topic_above_suggested_code: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_topic_above_suggested_ad_sizes: client: true default: '728*90 - leaderboard' @@ -79,10 +86,12 @@ adsense_plugin: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_mobile_post_bottom_code: client: true default: '' max: 50 + regex: '^[\d]*$' adsense_post_bottom_ad_sizes: client: true default: '728*90 - leaderboard'